- 19 Ara, 2001 17 kayıt (commit)
-
-
Michael W. Hudson yazdı
-
Fredrik Lundh yazdı
- use repr instead of implied str for doubles - updated version number to 1.0.0 (for 2.2 final)
-
Neal Norwitz yazdı
-
Michael W. Hudson yazdı
-
Tim Peters yazdı
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 yazdı
-
Guido van Rossum yazdı
reported by Dan Parisien.
-
Guido van Rossum yazdı
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 yazdı
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 yazdı
-
Fred Drake yazdı
both are proxy objects.
-
Fred Drake yazdı
under regrtest.
-
Guido van Rossum yazdı
__safe_for_unpickling__ attribute.
-
Fred Drake yazdı
"handler()" function, not the "handle()" function.
-
Jack Jansen yazdı
extension, not the EXT one, as regen uses the python binary in the build directory. Fixes #493959.
-
Tim Peters yazdı
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 yazdı
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 Ara, 2001 16 kayıt (commit)
-
-
Tim Peters yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
to prevent mysterious errors at shutdown due to "os.unlink" turning into "None.unlink".
-
Guido van Rossum yazdı
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 yazdı
-
Just van Rossum yazdı
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
-
Thomas Heller yazdı
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 yazdı
-
Fred Drake yazdı
This closes SF patch #494622.
-
Fred Drake yazdı
This is part of SF patch #494622.
-
Fred Drake yazdı
annotation as well. This closes SF patch #494582.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Just van Rossum yazdı
-
Just van Rossum yazdı
for DataBrowser controls.
-
Just van Rossum yazdı
for GetEventParameter().
-
- 17 Ara, 2001 7 kayıt (commit)
-
-
Tim Peters yazdı
obvious to anyone except PyType_Ready's author <0.9 wink>.
-
Guido van Rossum yazdı
types (the tp_base field must be initialized prior to that call).
-
Guido van Rossum yazdı
to the non-existing pympz (did that ever exist?).
-
Guido van Rossum yazdı
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 yazdı
-
Barry Warsaw yazdı
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 yazdı
-