- 29 Haz, 2000 31 kayıt (commit)
-
-
Fredrik Lundh yazdı
(those semantics are weird...) - got rid of $Id$'s (for the moment, at least). in other words, there should be no more "empty" checkins. - internal: some minor cleanups.
-
Fredrik Lundh yazdı
trent (who broke it in the first place ;-) will come up with a cleaner solution.
-
Guido van Rossum yazdı
-
Fredrik Lundh yazdı
(test_sre still complains about split, but that's caused by the group reset bug, not split itself) - added more mark slots (should be dynamically allocated, but 100 is better than 32. and checking for the upper limit is better than overwriting the memory ;-) - internal: renamed the cursor helper class - internal: removed some bloat from sre_compile
-
Fred Drake yazdı
OO wrapper for _winreg; blessed by Mark Hammond.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
has reviewed this, too.
-
Guido van Rossum yazdı
-
Fred Drake yazdı
OO wrapper for this module.
-
Barry Warsaw yazdı
threads use --without-threads. No extra tests of thread/compiler combinations have been added. --with(out)-thread and --with(out)-threads are completely interchangeable. --with-threads still supports the =DIRECTORY option for specifying where to find thread libraries.
-
Barry Warsaw yazdı
are enabled by default now unless --without-threads is given to configure.
-
Guido van Rossum yazdı
warning on Windows.
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
accidentally wiped out by Ping's patch (which shouldn't have affected this file at all, had Ping done a cvs update). This checkin restores Gordon's version, with Fredrik's change merged back in.
-
Marc-André Lemburg yazdı
New test output
-
Fredrik Lundh yazdı
my compiler, but not on guido's box...)
-
Greg Ward yazdı
-
Fredrik Lundh yazdı
(closes the "SRE: symbolic reference" bug)
-
Fredrik Lundh yazdı
tests in sre_patch back to previous version - fixed return value from findall - renamed a bunch of functions inside _sre (way too many leading underscores...) </F>
-
Greg Stein yazdı
-
Fredrik Lundh yazdı
- removed some hacks that worked around 1.6 alpha bugs - removed bogus test code from sre_parse
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Correct exception information in one docstring.
-
Fred Drake yazdı
-
Fred Drake yazdı
Greg, this is yours!
-
Greg Ward yazdı
we can run "sdist" on a distribution with old-style extension structures even if we haven't built it yet. Bug spotted by Harry Gebel.
-
Greg Ward yazdı
Changed 'prune_file_list()' so it also prunes out RCS and CVS directories. Added 'is_regex' parameter to 'select_pattern()', 'exclude_pattern()', and 'translate_pattern()', so that you don't have to be constrained by the simple shell-glob-like pattern language, and can escape into full-blown regexes when needed. Currently this is only available in code -- it's not exposed in the manifest template mini-language. Added 'prune' option (controlled by --prune and --no-prune) to determine whether we call 'prune_file_list()' or not -- it's true by default. Fixed 'negative_opt' -- it was misnamed and not being seen by dist.py. Added --no-defaults to the option table, so it's seen by FancyGetopt.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
accepted yet!)
-
- 28 Haz, 2000 9 kayıt (commit)
-
-
Guido van Rossum yazdı
This patch fixes a problem on AIX with the signed int case code in getargs.c, after Trent Mick's intervention about MIN/MAX overflow checks. The AIX compiler/optimizer generates bogus code with the default flags "-g -O" causing test_builtin to fail: int("10", 16) <> 16L. Swapping the two checks in the signed int code makes the problem go away. Also, make the error messages fit in 80 char lines in the source.
-
Guido van Rossum yazdı
Avoid calling the dealloc function, previously triggered with DECREF(inst). This caused a segfault in PyDict_GetItem, called with a NULL dict, whenever inst->in_dict fails under low-memory conditions.
-
Guido van Rossum yazdı
The depth field was never decremented inside w_object(), and it was never initialized in PyMarshal_WriteObjectToFile(). This caused imports from .pyc files to fil mysteriously when the .pyc file was written by the broken code -- w_object() would bail out early, but PyMarshal_WriteObjectToFile() doesn't check the error or return an error code, and apparently the marshalling code doesn't call PyErr_Check() either. (That's a separate patch if I feel like it.)
-
Guido van Rossum yazdı
mislabeled. (Using -c and then -e rearranges some comments, so I won't check that in -- but it's a good test anyway. Note that pindent is not perfect -- e.g. it doesn't know about triple-quoted strings!)
-
Guido van Rossum yazdı
Problem: A Python program can be completed and reformatted using Tools/scripts/pindent.py. Unfortunately there is no option for removal of the generated "# end"-tags. Although a few Python commands or a "grep -v '# end '" can do wonders here, there are two drawbacks: - not everyone has grep/time to write a Python script - it is not checked whether the "# end"-tags were used validly Solution: add extra option "-e" (eliminate) to pindent.py
-
Guido van Rossum yazdı
Fix warnings on 64-bit build build of signalmodule.c - Though I know that SIG_DFL and SIG_IGN are just small constants, there are cast to function pointers so the appropriate Python call is PyLong_FromVoidPtr so that the pointer value cannot overflow on Win64 where sizeof(long) < sizeof(void*).
-
Guido van Rossum yazdı
This patch fixes cPickle.c for 64-bit platforms. - The false assumption sizeof(long) == size(void*) exists where PyInt_FromLong is used to represent a pointer. The safe Python call for this is PyLong_FromVoidPtr. (On platforms where the above assumption *is* true a PyInt is returned as before so there is no effective change.) - use size_t instead of int for some variables
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-