- 16 Tem, 2002 7 kayıt (commit)
-
-
Tim Peters yazdı
existed at the time atexit first got imported. That's a bug, and this fixes it. Also reworked test_atexit.py to test for this too, and to stop using an "expected output" file, and to test what actually happens at exit instead of just simulating what it thinks atexit will do at exit. Bugfix candidate, but it's messy so I'll backport to 2.2 myself.
-
Barry Warsaw yazdı
but which is in a comment or string. Closes SF bug # 572341 reported by Adrian van den Dries.
-
Guido van Rossum yazdı
-
Barry Warsaw yazdı
up the compile command's history. Fix that by using compile-internal. Fixes SF bug # 580631
-
Guido van Rossum yazdı
the right thing even if char is unsigned.
-
Mark Hammond yazdı
-
Mark Hammond yazdı
time.sleep() will now be interrupted on the main thread when Ctrl+C is pressed. Other threads are never interrupted.
-
- 15 Tem, 2002 7 kayıt (commit)
-
-
Barry Warsaw yazdı
by ISO 3166 as country codes, but the are reserved by IANA nonetheless. The commonly used uk ccTLD is part of this group, near as I can tell.
-
Tim Peters yazdı
disaster too, so this change is here to stay. Beefed up the comments and added some stats Andrew reported. Also a small change to the macro body, to make it obvious how XXXROUNDUP(0) ends up returning 0. See SF patch 578297 for context. Not a bugfix candidate, as the functional changes here have already been backported to the 2.2 line (this patch just improves clarity).
-
Tim Peters yazdı
-
Tim Peters yazdı
full-blown windows.h, so changed accordingly.
-
Guido van Rossum yazdı
start-up.
-
Andrew MacIntyre yazdı
nodes (in Parser/node.c) resolves the gross memory consumption exhibited by the EMX runtime on OS/2, so the test should be exercised on this platform.
-
Tim Peters yazdı
explicit comparison function case: use PyObject_Call instead of PyEval_CallObject. Same thing in context, but gives a 2.4% overall speedup when sorting a list of ints via list.sort(__builtin__.cmp).
-
- 14 Tem, 2002 4 kayıt (commit)
-
-
Mark Hammond yazdı
Don't pass CREATE_NEW_CONSOLE to CreateProcess(), meaning our child process is in the same "console group" and therefore interrupted by the same Ctrl+C that interrupts the parent.
-
Mark Hammond yazdı
This gets us closer to consistent Ctrl+C behaviour on NT and Win9x. NT now reliably generates KeyboardInterrupt exceptions for NT when a file IO operation was aborted. Bugfix candidate
-
Tim Peters yazdı
MSDN sample programs use it, apparently in error. The correct name is WIN32_LEAN_AND_MEAN. After switching to the correct name, in two cases more was needed because the code actually relied on things that disappear when WIN32_LEAN_AND_MEAN is defined.
-
Neal Norwitz yazdı
remove unused macros use co alias instead of f->f_code in macros
-
- 13 Tem, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
platforms.
-
Jeremy Hylton yazdı
Just declare it static so that lame (BAD_STATIC_FORWARD) compilers don't see a mismatch between the prototype and the function.
-
- 12 Tem, 2002 13 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
Use \cfunction instead of \function in various places Add contributor names
-
Fred Drake yazdı
Closes SF bug #579991.
-
Just van Rossum yazdı
-
Jeremy Hylton yazdı
The test of httplib makes it difficult to maintain httplib. There are two many idioms that pyclbr doesn't seem to understand, and I don't understand how to update these tests to make them work. Also remove commented out test of urllib2.
-
Jeremy Hylton yazdı
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
-
Jeremy Hylton yazdı
Client code could create responses explicitly.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
more spaces only crashed pdb. While I was at it, cleaned up some style nits (spaces between function and parenthesis, and redundant parentheses in if statement).
-
Just van Rossum yazdı
-
Michael W. Hudson yazdı
calling Python was installed was so complicated, so I simplified it. This should get the snake-farm's build scripts working again.
-
Tim Peters yazdı
ULONG_MAX -- removed; std C requires it in limits.h LONGLONG_MAX -- removed; never used ULONGLONGMAX -- removed; never used
-
- 11 Tem, 2002 7 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
PyImport_ImportModule() is not guaranteed to return a module object. When another type of object was returned, the PyModule_GetDict() call return NULL and the subsequent GetItem() seg faulted. Bug fix candidate.
-
Tim Peters yazdı
arg tuple. This was suggested on c.l.py but afraid I can't find the msg again for proper attribution. For list.sort(cmp) where list is a list of random ints, and cmp is __builtin__.cmp, this yields an overall 50-60% speedup on my Win2K box. Of course this is a best case, because the overhead of calling cmp relative to the cost of actually comparing two ints is at an extreme. Nevertheless it's huge bang for the buck. An additionak 20-30% can be bought by making the arg tuple an immortal static (avoiding all but "the first" PyTuple_New), but that's tricky to make correct since docompare needs to be reentrant. So this picks the cherry and leaves the pits for Fred <wink>. Note that this makes no difference to the list.sort() case; an arg tuple gets built only if the user specifies an explicit sort function.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-