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).
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.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.
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.