]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bdecode was already gone in email 5. This merge adds the test from
authorR. David Murray <rdmurray@bitdance.com>
Mon, 8 Mar 2010 02:17:03 +0000 (02:17 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 8 Mar 2010 02:17:03 +0000 (02:17 +0000)
commit57a4b983a66ec5cd9b5af37cb6095cfc188f053a
treee3b8475393a872ec86c66a572842a0b8746df89a
parentae5f2f4a39e6a3f4c45e9dc95bd4e1fe5dfb60f2
bdecode was already gone in email 5.  This merge adds the test from
the trunk patch, and removes the last trace of bdecode, which was
a commented out call in message.py.

Merged revisions 78778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines

  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/message.py
Lib/email/test/data/msg_10.txt
Lib/email/test/test_email.py
Misc/ACKS