- 14 Mar, 2002 8 commits
-
-
Neal Norwitz authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
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 authored
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 authored
-
Tim Peters authored
-
Skip Montanaro authored
only retained for backward compatibility with older versions of the library.
-
- 13 Mar, 2002 5 commits
-
-
Tim Peters authored
free" glitch). Bugfix candidate -- I'll backpatch this into 2.2.1 later this week.
-
Fred Drake authored
This closes SF bug #420851.
-
Neal Norwitz authored
-
Fred Drake authored
to include various characters used in code samples, URLs, and other special contexts. This closes SF bug #525684.
-
Fred Drake authored
(dropping tildes into data that still goes through LaTeX-like processing is a bad idea).
-
- 12 Mar, 2002 15 commits
-
-
Martin v. Löwis authored
-
Fred Drake authored
module dictionary directly. Also, be more careful about not re-initializing globals in the event of re-initialization of a C extension.
-
Fred Drake authored
by stat and time functions. This closes SF patch #523271.
-
Guido van Rossum authored
Bugfix candidate.
-
Guido van Rossum authored
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 authored
other PyObject *. This closes SF bug #494007.
-
Fred Drake authored
This closes SF bug #517684.
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Jack Jansen authored
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 authored
-
Tim Peters authored
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 authored
-
Steven M. Gava authored
because of the way the tk text widget handles tabs they must remain a fixed size in idle
-
Steven M. Gava authored
editor font
-
- 11 Mar, 2002 9 commits
-
-
Fred Drake authored
(with only minor changes by Fred). This closes SF bug #498607.
-
Fred Drake authored
the dependency information.
-
Neal Norwitz authored
-
Guido van Rossum authored
-
Sjoerd Mullender authored
-
Martin v. Löwis authored
Use IOErrors where file objects use them.
-
Guido van Rossum authored
-
Tim Peters authored
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 authored
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 3 commits
-
-
Just van Rossum authored
-
Martin v. Löwis authored
Fixes #527855.
-
Guido van Rossum authored
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 *.
-