- 19 Dec, 2001 17 commits
-
-
Michael W. Hudson authored
-
Fredrik Lundh authored
- use repr instead of implied str for doubles - updated version number to 1.0.0 (for 2.2 final)
-
Neal Norwitz authored
-
Michael W. Hudson authored
-
Tim Peters authored
Patch from Mark Hammond, plus code rearrangement and comments from me. posix_do_stat(): Windows-specific code could try to free() stack memory in some cases when a path ending with a forward or backward slash was passed to os.stat().
-
Guido van Rossum authored
-
Guido van Rossum authored
reported by Dan Parisien.
-
Guido van Rossum authored
metaclass, reported by Dan Parisien. Objects that are instances of custom metaclasses, i.e. whose ob_type is a subclass of PyType_Type, should be pickled the same as new-style classes (objects whose ob_type is PyType_Type). This can't be done through the existing dispatch switches, and the __reduce__ trick doesn't work for these, since it finds the unbound __reduce__ for instances of the class (inherited from PyBaseObject_Type). So check explicitly using PyType_IsSubtype().
-
Guido van Rossum authored
metaclass, reported by Dan Parisien. Objects that are instances of custom metaclasses, i.e. whose class is a subclass of 'type', should be pickled the same as new-style classes (objects whose class is 'type'). This can't be done through a dispatch table entry, and the __reduce__ trick doesn't work for these, since it finds the unbound __reduce__ for instances of the class (inherited from 'object'). So check explicitly using issubclass().
-
Fred Drake authored
-
Fred Drake authored
both are proxy objects.
-
Fred Drake authored
under regrtest.
-
Guido van Rossum authored
__safe_for_unpickling__ attribute.
-
Fred Drake authored
"handler()" function, not the "handle()" function.
-
Jack Jansen authored
extension, not the EXT one, as regen uses the python binary in the build directory. Fixes #493959.
-
Tim Peters authored
binascii_b2a_base64(): We didn't allocate enough buffer space for very short inputs (e.g., a 1-byte input can produce a 5-byte output, but we only allocated 2 bytes). I expect that malloc overheads absorbed the overrun in practice, but computing a correct upper bound is a very simple change.
-
Tim Peters authored
eval_frame(): Added asserts to the top of the eval loop, to verify that the eval stack pointer is in bounds, plus some comments.
-
- 18 Dec, 2001 16 commits
-
-
Tim Peters authored
-
Martin v. Löwis authored
-
Tim Peters authored
to prevent mysterious errors at shutdown due to "os.unlink" turning into "None.unlink".
-
Guido van Rossum authored
This way, when a socket object is deleted after the socket module has already been zapped by module shutdown, we don't get annoying warnings about exceptions in __del__ methods.
-
Thomas Heller authored
-
Just van Rossum authored
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
-
Thomas Heller authored
crashes. If no external zip-utility is found, the archive is created by the zipfile module, which behaves different now than in 2.1: if the zip-file is created in the root directory if the distribution, it will contain an (empty) version of itself. This triggered the above bug - so it's better to create the zip-file far away in the TMP directory.
-
Fred Drake authored
-
Fred Drake authored
This closes SF patch #494622.
-
Fred Drake authored
This is part of SF patch #494622.
-
Fred Drake authored
annotation as well. This closes SF patch #494582.
-
Jack Jansen authored
-
Jack Jansen authored
-
Just van Rossum authored
-
Just van Rossum authored
for DataBrowser controls.
-
Just van Rossum authored
for GetEventParameter().
-
- 17 Dec, 2001 7 commits
-
-
Tim Peters authored
obvious to anyone except PyType_Ready's author <0.9 wink>.
-
Guido van Rossum authored
types (the tp_base field must be initialized prior to that call).
-
Guido van Rossum authored
to the non-existing pympz (did that ever exist?).
-
Guido van Rossum authored
NULL, so that you can call PyType_Ready() to initialize a type that is to be separately compiled with C on Windows. inherit_special(): Add a long comment explaining that you have to set tp_new if your base class is PyBaseObject_Type.
-
Guido van Rossum authored
-
Barry Warsaw authored
paren. This was there to worm around a stupid XEmacs bug, but since I can't tickle the bug in newer XEmacsen (just tried w/21.4.5) it's possible the problem has been fixed. We shouldn't have to be working around editor bugs anyway. If it crops up again, I'll report it (again) to the XEmacs crowd.
-
Jack Jansen authored
-