- 07 May, 2000 9 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
The applets need more memory nowadays, it seems (because of navservices, maybe?). Give them 4M, that should be okay for a while.
-
Jack Jansen authored
Installer for 1.6a2. This is not the optimal location for the VCT file, it should be one level higher, but I can't be bothered fixing that this time around.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Greg Ward authored
or getattr/setattr, is all that's needed.
-
Greg Ward authored
'get_options()', 'get_command_option()', 'get_command_options()'.
-
Greg Ward authored
'get_options()'.
-
- 06 May, 2000 6 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
Put the install folders in (vise), not vise, so the include files aren't accidentally picked up by the normal build process.
-
Jack Jansen authored
-
Greg Ward authored
via an 'extra_compile_args' option in the 'build_info' dictionary.
-
Guido van Rossum authored
Fix for problem with freeze when both "-m" and "-s service" options are used. (Blessed by MarkH)
-
- 05 May, 2000 10 commits
-
-
Jack Jansen authored
Adding projects to the repository again, this time in MacBinary form. If you have added the MMPr filetype as "plain binary" in the MacCVS preferences you should revert this before doing this update. Got rid of last references to GUSI1. Upped for current python CVS status. Various minor tweaks, I guess:-)
-
Jack Jansen authored
Removed string-exception preference, added tabcheck and NavService preference, upped version number.
-
Jack Jansen authored
Auto-install on import, if NavServices is available. Unless a "no navservices" flag is set Python automagically imports this module so code that uses macfs.xxxGetFile will get NavServices dialogs.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
gave bogus results for chars in the range 128-255, because their implementation was using signed characters. Fixed this by using unsigned character pointers (as opposed to using Py_CHARMASK()).
-
Guido van Rossum authored
allocator.
-
Guido van Rossum authored
referencing an undefined variable, so we better change it back.
-
Guido van Rossum authored
weird errors. (E.g. see thread "weird bug in test_winreg" in python-dev.) Since it's actually useful to be able to re-run an individual test after running test.autotest, we keep the unloading code, but only for modules whose full name starts with "test.".
-
- 04 May, 2000 7 commits
-
-
Guido van Rossum authored
who wrote: Here's the new version of thread_nt.h. More particular, there is a new version of thread lock that uses kernel object (e.g. semaphore) only in case of contention; in other case it simply uses interlocked functions, which are faster by the order of magnitude. It doesn't make much difference without threads present, but as soon as thread machinery initialised and (mostly) the interpreter global lock is on, difference becomes tremendous. I've included a small script, which initialises threads and launches pystone. With original thread_nt.h, Pystone results with initialised threads are twofold worse then w/o threads. With the new version, only 10% worse. I have used this patch for about 6 months (with threaded and non-threaded applications). It works remarkably well (though I'd desperately prefer Python was free-threaded; I hope, it will soon).
-
Guido van Rossum authored
instead. This seems more robust than returning an Unicode string with some unconverted charcters in it. This still doesn't support getting truly binary data out of Tcl, since we look for the trailing null byte; but the old (pre-Unicode) code did this too, so apparently there's no need. (Plus, I really don't feel like finding out how Tcl deals with this in each version.)
-
Guido van Rossum authored
strings _are_ valid!
-
Jack Jansen authored
-
Guido van Rossum authored
1. In Tcl 8.2 and later, use Tcl_NewUnicodeObj() when passing a Python Unicode object rather than going through UTF-8. (This function doesn't exist in Tcl 8.1, so there the original UTF-8 code is still used; in Tcl 8.0 there is no support for Unicode.) This assumes that Tcl_UniChar is the same thing as Py_UNICODE; a run-time error is issued if this is not the case. 2. In Tcl 8.1 and later (i.e., whenever Tcl supports Unicode), when a string returned from Tcl contains bytes with the top bit set, we assume it is encoded in UTF-8, and decode it into a Unicode string object. Notes: - Passing Unicode strings to Tcl 8.0 does not do the right thing; this isn't worth fixing. - When passing an 8-bit string to Tcl 8.1 or later that has bytes with the top bit set, Tcl tries to interpret it as UTF-8; it seems to fall back on Latin-1 for non-UTF-8 bytes. I'm not sure what to do about this besides telling the user to disambiguate such strings by converting them to Unicode (forcing the user to be explicit about the encoding). - Obviously it won't be possible to get binary data out of Tk this way. Do we need that ability? How to do it?
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 03 May, 2000 8 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
-
Guido van Rossum authored
-
Guido van Rossum authored
Finally, this long-obsolete module bites the dust.
-
Guido van Rossum authored
Change Py_Malloc/Realloc/Free calls to PyMem_Malloc/Realloc/Free + PyErr_Nomemory on error check. Py_Malloc c.s. are obsolete.
-
Guido van Rossum authored
- When 'import exceptions' fails, don't suggest to use -v to print the traceback; this doesn't actually work. - Remove comment about fallback to string exceptions. - Remove a PyErr_Occurred() check after all is said and done that can never trigger. - Remove static function newstdexception() which is no longer called.
-
Fred Drake authored
Spotted by Greg Kochanski <gpk@bell-labs.com>.
-
Fred Drake authored
Added 'u' and 'u#' tags for PyArg_ParseTuple - these turn a PyUnicodeObject argument into a Py_UNICODE * buffer, or a Py_UNICODE * buffer plus a length with the '#'. Also added an analog to 'U' for Py_BuildValue.
-