[issue18022] Inconsistency between quopri.decodestring() and email.quoprimime.decode()

Serhiy Storchaka report at bugs.python.org
Mon Jun 10 08:35:36 CEST 2013


Serhiy Storchaka added the comment:

Perl's MIME::QuotedPrint produces same result as pure Python quopri. konwert qp-8bit produces same result as binascii (except '==41' it decodes as '=A').

RFC 2045 says:

"""A
          reasonable approach by a robust implementation might be
          to include the "=" character and the following
          character in the decoded data without any
          transformation and, if possible, indicate to the user
          that proper decoding was not possible at this point in
          the data.
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18022>
_______________________________________


More information about the Python-bugs-list mailing list