- 18 Haz, 2000 13 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
I discovered the [MREMAP_MAYMOVE] symbol is only defined when _GNU_SOURCE is defined; therefore, here is the change: if we are compiling for linux, define _GNU_SOURCE before including mman.h, and all is done.
-
Andrew M. Kuchling yazdı
this patch adds a fast _flatten function to the _tkinter module, and imports it from Tkinter.py (if available). this speeds up canvas operations like create_line and create_polygon. for example, a create_line with 5000 vertices runs about 50 times faster with this patch in place.
-
Andrew M. Kuchling yazdı
this patch introduces PySequence_Fast and PySequence_Fast_GET_ITEM, and modifies the list.extend method to accept any kind of sequence.
-
Greg Ward yazdı
-
Andrew M. Kuchling yazdı
the mremap() change I made; did someone modify configure.in previously without recreating these files?
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
Remove two unused variables
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
The seek() method is broken for any 'whence' value (seek from start, current, orend) other than the default. I have a patch that fixes that as well as gets mmap'd files working on Linux64 and Win64.
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 17 Haz, 2000 10 kayıt (commit)
-
-
Greg Ward yazdı
and added (empty) 'precompile_hook()' for symmetry. One can envision a much more elaborate hook mechanism, but this looks like it'll do for now.
-
Andrew M. Kuchling yazdı
size of the mapped area. This seems to be what the Windows version does. This change requires keeping around the fd of the mapped file.
-
Andrew M. Kuchling yazdı
-
Marc-André Lemburg yazdı
This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults on AIX when the interpreter is compiled with -O.
-
Greg Ward yazdı
mutable, rather than public and constant.
-
Greg Ward yazdı
instead of muddling through IOError and OSError exception objects itself.
-
Greg Ward yazdı
muddling through IOError and OSError exception objects right here.
-
Greg Ward yazdı
forms that IOError and OSError can take (taken from core.py).
-
Greg Ward yazdı
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of the PATH_CREATED cache: specifically, if a directory is created with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()' is again requested to create it, then it would erroneously think the directory already existed, because it was in the PATH_CREATED cache. The patch (slightly tweaked by me) fixes that.
-
Greg Ward yazdı
-
- 16 Haz, 2000 4 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Added a bit more documentation in the chapter on building extension types, including Py_FindMethod() documentation. Several minor consistency nits were fixed.
-
Marc-André Lemburg yazdı
The error message refers to "append", yet the operation in question is "concat".
-
- 15 Haz, 2000 4 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
Carl Feynman <carlf@abinitio.com>.
-
Fred Drake yazdı
This patch corrects a little glitch and two outright errors. (Including one reported earlier by Thomas Wouters.)
-
Fred Drake yazdı
The following patch adds "sq_contains" support to rangeobject, and enables the already-written support for sq_contains in listobject and tupleobject. The rangeobject "contains" code should be a bit more efficient than the current default "in" implementation ;-) It might not get used much, but it's not that much to add. listobject.c and tupleobject.c already had code for sq_contains, and the proper struct member was set, but the PyType structure was not extended to include tp_flags, so the object-specific code was not getting called (Go ahead, test it ;-). I also did this for the immutable_list_type in listobject.c, eventhough it is probably never used. Symmetry and all that.
-
- 14 Haz, 2000 3 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Added code so that .isXXX() testing returns 0 for emtpy strings.
-
Marc-André Lemburg yazdı
Removed a test which can fail when the default locale setting uses a Latin-1 encoding. The test case is not applicable anymore.
-
Jack Jansen yazdı
-
- 13 Haz, 2000 6 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
Documentation for the unicodedata module (massaged by Fred for minor consistency issues).
-
Fred Drake yazdı
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
-
Jack Jansen yazdı
-
Marc-André Lemburg yazdı
Fixed some tests to not cause the script to fail, but rather output a warning (which then is caught by regrtest.py as wrong output). This is needed to make test_unicode.py run through on JPython. Thanks to Finn Bock.
-
Marc-André Lemburg yazdı
Removed import of string module -- use string methods directly. Thanks to Finn Bock.
-