]> granicus.if.org Git - python/commit
Issue #7143: get_payload used to strip any trailing newline from a
authorR. David Murray <rdmurray@bitdance.com>
Mon, 8 Mar 2010 02:04:06 +0000 (02:04 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 8 Mar 2010 02:04:06 +0000 (02:04 +0000)
commit4617e5085a89952a0bc99c086e5de8dc9f0a5676
tree0c5339d472b54a79a5adc0ed585eb3eabc52d084
parent16cd888dd9fa4dc2da642a8edb45e708e296a086
Issue #7143: get_payload used to strip any trailing newline from a
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC.  Fixed with Barry's approval, but no backport.  Email package
minor version number is bumped, now version 4.0.1.

Patch by Joaquin Cuenca Abela.
Lib/email/__init__.py
Lib/email/test/data/msg_10.txt
Lib/email/test/test_email.py
Lib/email/test/test_email_renamed.py
Lib/email/utils.py
Misc/ACKS
Misc/NEWS