| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
and the trashcan mechanism.
|
| |
|
|
|
|
|
|
|
|
| |
backport gvanrossum's checkin of
revision 1.58 of pickle.py
Fix for SF 502085.
Don't die when issubclass(t, TypeType) fails.
Bugfix candidate (but I think it's too late for 2.2.1).
|
| | |
|
| |
|
|
| |
'release22-maint'.
|
| |
|
|
|
|
|
|
|
|
|
| |
revision 1.14 of netrc.py
[Bug #532115] netrc module was broken
* 'macdef' (macro definition) wasn't parsed correctly
* account value not reset for a subsequent 'default' line
* typo: 'whitepace' -> 'whitespace'
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
| |
revision 1.63 of install.py
Revert part of previous patch: several install_* subcommands expect
.compile to be None, and set it to true if it is.
Caught by Pearu Peterson.
Bugfix candidate, if the previous change is accepted for
release22-maint.
|
| |
|
|
|
|
|
|
|
|
| |
revision 1.62 of install.py
Add missing Boolean options
Remove unused no_compile flag
Initialize the Boolean attribute .compile to 0 instead of None
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
| |
backport akuchling's checkin of
revision 1.30 of bdist_wininst.py
Add unlisted Boolean options. Thomas H., can you please check that I
got this right?
Bugfix candidate, unless Thomas notes a problem.
|
| |
|
|
|
|
|
|
|
| |
revision 1.28 of bdist_rpm.py
[Bug #517451] bdist_rpm didn't list all of its Boolean options.
(Someone should check the other commands for this same error.)
Bugfix candidate.
|
| |
|
|
|
|
| |
revision 1.60 of pydoc.py
Quote href properly.
|
| |
|
|
|
|
|
| |
revision 1.59 of pydoc.py
Remove unnecessary \b. It was causing the RE to miss the tailing
slash on strings like "http://www.python.org/ is good".
|
| |
|
|
|
|
| |
revision 1.27 of cmd.py
Flush stdout before reading next command. Closes SF bug 526357.
|
| | |
|
| |
|
|
| |
Hope this was right thing to do.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.47 of httplib.py
[Bug #531616] Make HTTPS work again by adding a sendall method to the
FakeSocket class. Without it, the sendall() call got the method on
the underlying socket object, and that messed up SSL.
Does httplib use other methods of sockets that FakeSocket doesn't support?
Someone should take a look... (I'll try to give it a once-over.)
2.2.1 bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
situations are handled now: a multipart/* containing no payload
(i.e. never set), and a multipart/* containing a scalar payload
(i.e. Message.add_payload() having been called exactly once, not
passing in a sequence object).
_make_boundary(): Fixed bogus cut-n-paste error (self as first arg).
I will merge these changes into the standalone email package and
Python 2.3 separately.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multipart/mixed message with no attachments.
test_one_part_in_a_multipart(): A test for the layout of a
multipart/mixed message with a single attachment.
test_seq_parts_in_a_multipart(): A test for the layout of a
multipart/mixed message with a single attachment that happens to be a
sequence of length one.
These tests ensure no regressions on the fix for SF bug #531966.
I will merge these into the standalone email package and Python 2.3
trunk separately.
|
| |
|
|
| |
exists.
|
| |
|
|
|
| |
Lots of tests fail in non-unicode builds, but I think most of these are
"bugs" in the tests. I hope so, anyway.
|
| |
|
|
|
|
|
|
| |
revision 1.2 of ERRNO.py
revision 1.2 of FILE.py
revision 1.2 of IN.py
Regenerated for Irix 6.5.
|
| |
|
|
|
|
| |
revision 1.3 of regen
Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5.
|
| |
|
|
| |
[ 516299 ] urlparse can get fragments wrong
|
| |
|
|
| |
[ 529104 ] broken error handling in unicode-escape
|
| |
|
|
|
|
|
|
|
|
|
| |
The proper fix is not quite what was submitted; it's really better to
take the class of the object passed rather than calling PyMethod_New
with NULL pointer args, because that can then cause other core dumps
later.
I also added a testcase for the fix to classmethods() in test_descr.py.
I'll apply this to 2.3 too.
|
| |
|
|
|
|
| |
on MacOSX/Darwin, use ranlib when building static libs.
I hope this belongs on the branch...
|
| |
|
|
| |
Fix typo
|
| | |
|
| |
|
|
|
| |
Change the way __doc__ is handled, to avoid blowing up on non-string
__doc__ values.
|
| |
|
|
| |
This test left a new set of 3 junk files behind each time it was run.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bring tempfile.py up to date from the trunk. There have been three
checkins (all by Tim):
SF bug #509805 tempfile.gettempdir not threadsafe
This is an ancient race when multiple threads call gettempdir() (or
anything relying on it) for the first time.
Fixed x-platform via the Big Hammer of rearranging the code to serialize
the first calls. Subsequent calls are as fast as before.
Note that the Python test suite can't provoke this bug: it requires
setting up multiple threads making the very first calls into tempfile,
but the test suite uses tempfile several times before getting to
test_threadedtempfile.
Bugfix candidate.
[and]
New TemporaryFile implementation for Windows: this doesn't need a
TemproraryFileWrapper wrapper anymore, and should be immune from the
problem that a temp file inherited by a spawned process caused an
attempt to close the temp file in the spawning process to blow
up (the unlink in TemporaryFileWrapper.close() blew up with a
"Permission denied" error because, despite that the temp file got
closed in the spawning process, the spawned process still had it open
by virtue of C-level file descriptor inheritance). In context,
that bug took days to figure out <wink/sigh>.
[and]
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.
The first and third of these are pretty clearly bugfixes; I think the
second is too.
|
| | |
|
| | |
|
| |
|
|
|
| |
"cvs diff | patch" managed to stick the NEWS item in the 2.2 final
section! I wonder which silly man wrote patch <wink>.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
revision 1.54 of os.py
Fix
[ 530236 ] os.py assumes existence of statvfs_resul
This was pretty dense of me. Sorry.
2.2.1 candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backport montanaro's checkin of
revision 1.24 of calendar.py
make _localized_name instances work more like the tuples they replaced. In
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.
[and then]
Corrected _localized_name.__getitem__ based on code in patch 503202 (which I
thought was just a bug report, so didn't notice - doh!). This handles
slicing, which v 1.23 didn't.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.121 of test_descr.py
"Fix" for SF bug #520644: __slots__ are not pickled.
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).
|
| |
|
|
|
|
|
| |
backport fdrake's checkin of
revision 1.5 of log.py
Set/update self.cwd properly.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
revision 1.120 of test_descr.py
Test for the fix I just checked in to moduleobject.c.
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
revision 1.29 of asyncore.py
[Bug #517554] When a signal happens during the select call in
asyncore.poll, the select fails with EINTR, which the
code catches. However, the code fails to clear the
r/w/e arrays (like poll3 does), which means it acts as
if every descriptor had received all possible events.
Bug report and patch by Cesar Eduardo Barros
|
| |
|
|
|
|
| |
revision 1.10 of test_cfgparser.py
As part of fixing bug #523301, add a simple test of ConfigParser.write()
|
| |
|
|
|
|
| |
revision 1.6 of test_cfgparser
As part of fixing bug #523301, add a simple test of ConfigParser.write()
|
| |
|
|
|
|
|
|
|
| |
backport akuchling's checkin of
revision 1.39 of ConfigParser.py
[Bug #523301] ConfigParser.write() produces broken output for values that
were originally rfc822-like line continuations.
Modified version of a patch from Matthias Ralfs.
|
| | |
|
| |
|
|
|
|
| |
revision 1.118 of test_descr.py
Add a check that SF bug 516727 is really fixed.
|
| |
|
|
|
|
|
|
|
|
| |
backport jhylton's checkin of
revision 1.7 of test_pyclbr.py
Fix pyclbr test of httplib without really understanding pyclbr.
It seems that the new class HTTP11 in httplib.test() isn't
discoverable by pyclbr, which causes this test to fail.
|
| | |
|
| |
|
|
|
|
|
| |
revision 1.66 of ftplib.py
Access the exception argument to see whether it starts with '500'.
Fixes #527855.
|