cpython/Lib/email
R David Murray 00ae435dee #18324: set_payload now correctly handles binary input.
This also backs out the previous fixes for for #14360, #1717, and #16564.
Those bugs were actually caused by the fact that set_payload didn't decode to
str, thus rendering the model inconsistent.  This fix does mean the data
processed by the encoder functions goes through an extra encode/decode cycle,
but it means the model is always consistent.  Future API updates will provide
a better way to encode payloads, which will bypass this minor de-optimization.

Tests by Vajrasky Kok.
2013-08-21 21:10:31 -04:00
..
mime Issue #17047: remove doubled words added in 3.3 2013-03-11 18:34:00 -04:00
__init__.py
_encoded_words.py Issue #17047: remove doubled words added in 3.3 2013-03-11 18:34:00 -04:00
_header_value_parser.py #18431: Decode encoded words in atoms in new email parser. 2013-07-12 16:00:28 -04:00
_parseaddr.py
_policybase.py
architecture.rst Fix a couple of typos. 2013-08-10 18:47:07 +03:00
base64mime.py
charset.py #18437: fix comment typo. 2013-07-12 22:55:43 -04:00
encoders.py #18324: set_payload now correctly handles binary input. 2013-08-21 21:10:31 -04:00
errors.py
feedparser.py
generator.py Fix a couple of typos. 2013-08-10 18:47:07 +03:00
header.py
headerregistry.py
iterators.py
message.py #18324: set_payload now correctly handles binary input. 2013-08-21 21:10:31 -04:00
parser.py Merge: #17431: Fix missing import of BytesFeedParser in email.parser. 2013-03-15 20:42:29 -04:00
policy.py Issue #17047: remove doubled words added in 3.3 2013-03-11 18:34:00 -04:00
quoprimime.py #18380: pass regex flags to the right argument. Patch by Valentina Mukhamedzhanova. 2013-07-06 17:16:04 +02:00
utils.py