]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport r50840 to Python 2.4:
authorBarry Warsaw <barry@python.org>
Fri, 28 Jul 2006 03:18:56 +0000 (03:18 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 28 Jul 2006 03:18:56 +0000 (03:18 +0000)
commit0738db2e0d4e8c04984710c48b3da027797eaea8
tree534d4137286cdf9c4ee0b3a8a282c470d0955d07
parent0736c53ceac4360152a49c6f08b15c4e0dd64816
Backport r50840 to Python 2.4:

    Forward port some fixes that were in email 2.5 but for some reason didn't
    make it into email 4.0.  Specifically, in Message.get_content_charset(),
    handle RFC 2231 headers that contain an encoding not known to Python, or a
    character in the data that isn't in the charset encoding.  Also forward
    port the appropriate unit tests.

Also, this resolves SF bug #1414018.
Lib/email/Message.py
Lib/email/test/test_email.py