- 20 Jun, 2000 12 commits
-
-
Jack Jansen authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
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 authored
raised, caught, and converted to a string.
-
Jeremy Hylton authored
-
Fred Drake authored
Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs.
-
Fred Drake authored
Simplify find code; this is a performance improvement on at least some platforms.
-
Mark Hammond authored
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 authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Fred Drake authored
Fix memory leak in initializing __debug__.
-
- 19 Jun, 2000 3 commits
-
-
Fred Drake authored
commented by Fred Drake, to prevent usage of sufficiently broken GCC versions.
-
Fred Drake authored
-
Andrew M. Kuchling authored
[mwh21@atrus build]$ ./python >>> import Tkinter >>> l = [] >>> l.append(l) >>> Tkinter._flatten(l) Segmentation fault (core dumped)
-
- 18 Jun, 2000 15 commits
-
-
Marc-André Lemburg authored
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 authored
Added optimization proposed by Andrew Kuchling to the Unicode matching macro.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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 authored
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 authored
this patch introduces PySequence_Fast and PySequence_Fast_GET_ITEM, and modifies the list.extend method to accept any kind of sequence.
-
Greg Ward authored
-
Andrew M. Kuchling authored
the mremap() change I made; did someone modify configure.in previously without recreating these files?
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Remove two unused variables
-
Fred Drake authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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 authored
-
Andrew M. Kuchling authored
-
- 17 Jun, 2000 10 commits
-
-
Greg Ward authored
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 authored
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 authored
-
Marc-André Lemburg authored
This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults on AIX when the interpreter is compiled with -O.
-
Greg Ward authored
mutable, rather than public and constant.
-
Greg Ward authored
instead of muddling through IOError and OSError exception objects itself.
-
Greg Ward authored
muddling through IOError and OSError exception objects right here.
-
Greg Ward authored
forms that IOError and OSError can take (taken from core.py).
-
Greg Ward authored
'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 authored
-