- 14 Mar, 2002 6 kayıt (commit)
-
-
Jack Jansen yazdı
-
Guido van Rossum yazdı
As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError. Bugfix candidate (also the checkin to typeobject.c, of course).
-
Guido van Rossum yazdı
As promised in my response to the bug report, I'm not really fixing it; in fact, one could argule over what the proper fix should do. Instead, I'm adding a little magic that raises TypeError if you try to pickle an instance of a class that has __slots__ but doesn't define or override __getstate__. This is done by adding a bozo __getstate__ that always raises TypeError.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Skip Montanaro yazdı
only retained for backward compatibility with older versions of the library.
-
- 13 Mar, 2002 5 kayıt (commit)
-
-
Tim Peters yazdı
free" glitch). Bugfix candidate -- I'll backpatch this into 2.2.1 later this week.
-
Fred Drake yazdı
This closes SF bug #420851.
-
Neal Norwitz yazdı
-
Fred Drake yazdı
to include various characters used in code samples, URLs, and other special contexts. This closes SF bug #525684.
-
Fred Drake yazdı
(dropping tildes into data that still goes through LaTeX-like processing is a bad idea).
-
- 12 Mar, 2002 15 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
module dictionary directly. Also, be more careful about not re-initializing globals in the event of re-initialization of a C extension.
-
Fred Drake yazdı
by stat and time functions. This closes SF patch #523271.
-
Guido van Rossum yazdı
Bugfix candidate.
-
Guido van Rossum yazdı
There were several places that assumed the md_dict field was always set, but it needn't be. Fixed these to be more careful. I changed PyModule_GetDict() to initialize md_dict to a new dictionary if it's NULL. Bugfix candidate.
-
Fred Drake yazdı
other PyObject *. This closes SF bug #494007.
-
Fred Drake yazdı
This closes SF bug #517684.
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
-
Jack Jansen yazdı
525481. (Probably not a 2.2.1 candidate, unless the fix that introduced a long double into objimpl.h (rev. 2.44) is backported to 2.2.1).
-
Fred Drake yazdı
-
Tim Peters yazdı
and (b) stop trying to prevent file growth. Beef up the file.truncate() docs. Change test_largefile.py to stop assuming that f.truncate() moves the file pointer to the truncation point, and to verify instead that it leaves the file position alone. Remove the test for what happens when a specified size exceeds the original file size (it's ill-defined, according to the Single Unix Spec).
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
because of the way the tk text widget handles tabs they must remain a fixed size in idle
-
Steven M. Gava yazdı
editor font
-
- 11 Mar, 2002 9 kayıt (commit)
-
-
Fred Drake yazdı
(with only minor changes by Fred). This closes SF bug #498607.
-
Fred Drake yazdı
the dependency information.
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
-
Sjoerd Mullender yazdı
-
Martin v. Löwis yazdı
Use IOErrors where file objects use them.
-
Guido van Rossum yazdı
-
Tim Peters yazdı
dropping MS's inadequate _chsize() function. This was inspired by SF patch 498109 ("fileobject truncate support for win32"), which I rejected. libstdtypes.tex: Someone who knows should update the availability blurb. For example, if it's available on Linux, it would be good to say so. test_largefile: Uncommented the file.truncate() tests, and reworked to do more. The old comment about "permission errors" in the truncation tests under Windows was almost certainly due to that the file wasn't open for *write* access at this point, so of course MS wouldn't let you truncate it. I'd be appalled if a Unixish system did. CAUTION: Someone should run this test on Linux (etc) too. The truncation part was commented out before. Note that test_largefile isn't run by default.
-
Guido van Rossum yazdı
Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *.
-
- 10 Mar, 2002 4 kayıt (commit)
-
-
Just van Rossum yazdı
-
Martin v. Löwis yazdı
Fixes #527855.
-
Guido van Rossum yazdı
Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *.
-
Tim Peters yazdı
There's no actual patch there. It's an objection that Guido's example doesn't actually generator "leaves", so change the comment that says it does.
-
- 09 Mar, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-