- 20 Haz, 2000 12 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
the number of children of a node exceeds the max possible value for the short that is used to count them. The Python runtime converts this parser error into the SyntaxError "expression too long."
-
Jeremy Hylton yazdı
raised, caught, and converted to a string.
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs.
-
Fred Drake yazdı
Simplify find code; this is a performance improvement on at least some platforms.
-
Mark Hammond yazdı
Added a new debug method sys.gettotalrefcount(), which returns the total number of references on all Python objects. This is only enabled when Py_TRACE_REFS is defined (which includes default debug builds under Windows). Also removed a redundant cast from sys.getrefcount(), as discussed on the patches list.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Fred Drake yazdı
Fix memory leak in initializing __debug__.
-
- 19 Haz, 2000 3 kayıt (commit)
-
-
Fred Drake yazdı
commented by Fred Drake, to prevent usage of sufficiently broken GCC versions.
-
Fred Drake yazdı
-
Andrew M. Kuchling yazdı
[mwh21@atrus build]$ ./python >>> import Tkinter >>> l = [] >>> l.append(l) >>> Tkinter._flatten(l) Segmentation fault (core dumped)
-
- 18 Haz, 2000 15 kayıt (commit)
-
-
Marc-André Lemburg yazdı
Fixed a bug in PyUnicode_Count() which would have caused a core dump in case of substring coercion failure. Synchronized .count() with the string method of the same name to return len(s)+1 for s.count('').
-
Marc-André Lemburg yazdı
Added optimization proposed by Andrew Kuchling to the Unicode matching macro.
-
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ı
-