]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#19063: fix set_payload handling of non-ASCII string input.
authorR David Murray <rdmurray@bitdance.com>
Wed, 11 Dec 2013 21:52:11 +0000 (16:52 -0500)
committerR David Murray <rdmurray@bitdance.com>
Wed, 11 Dec 2013 21:52:11 +0000 (16:52 -0500)
commit50bfbb9903171c96c19359fd50fb6a5570128ef6
treee275522a82b7244c17ffa19ef23e52d688ac6bc8
parent34bd9fc59a36f9803777f0446bc461083bdec78e
#19063: fix set_payload handling of non-ASCII string input.

This version of the fix raises an error instead of accepting the invalid
input (ie: if a non-ASCII string is used but no charset is specified).
Doc/library/email.message.rst
Lib/email/charset.py
Lib/email/message.py
Lib/test/test_email/test_contentmanager.py
Lib/test/test_email/test_email.py
Misc/NEWS