| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
set and the "del cmd" would fail. Fixed.
2.2.1 candidate.
|
|
|
|
| |
in PyObject_Get/SetAttr.
|
| |
|
|
|
|
|
|
|
|
| |
[ 530236 ] os.py assumes existence of statvfs_resul
This was pretty dense of me. Sorry.
2.2.1 candidate.
|
| |
|
|
|
|
|
|
| |
particular, negative indexes work and they are limited by the actual length
of the names they represent (weekday and month names). This closes bug
#503202.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
only retained for backward compatibility with older versions of the library.
|
|
|
|
|
| |
free" glitch).
Bugfix candidate -- I'll backpatch this into 2.2.1 later this week.
|
|
|
|
| |
This closes SF bug #420851.
|
| |
|
|
|
|
|
|
| |
to include various characters used in code samples, URLs, and other special
contexts.
This closes SF bug #525684.
|
|
|
|
|
| |
(dropping tildes into data that still goes through LaTeX-like processing is
a bad idea).
|
| |
|
|
|
|
|
| |
module dictionary directly. Also, be more careful about not re-initializing
globals in the event of re-initialization of a C extension.
|
|
|
|
|
| |
by stat and time functions.
This closes SF patch #523271.
|
|
|
|
| |
Bugfix candidate.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
other PyObject *.
This closes SF bug #494007.
|
|
|
|
| |
This closes SF bug #517684.
|
| |
|
| |
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
because of the way the tk text widget handles
tabs they must remain a fixed size in idle
|
|
|
|
| |
editor font
|
|
|
|
|
| |
(with only minor changes by Fred).
This closes SF bug #498607.
|
|
|
|
| |
the dependency information.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use IOErrors where file objects use them.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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 *.
|
| |
|
|
|
|
| |
Fixes #527855.
|
|
|
|
|
|
|
| |
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 *.
|
|
|
|
|
|
| |
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.
|
| |
|