[issue18022] Inconsistency between quopri.decodestring() and email.quoprimime.decode()
Serhiy Storchaka
report at bugs.python.org
Sun Jun 9 23:28:22 CEST 2013
Serhiy Storchaka added the comment:
There are other inconsistencies. email.quoprimime.decode(), binascii.a2b_qp() and pure Python (by default binascii used) quopri.decodestring() returns different results for following data:
quoprimime binascii quopri
b'=' '' b'' b'='
b'==' '=' b'=' b'=='
b'= ' '' b'= ' b'= '
b'= \n' '' b'= \n' b''
b'=\r' '' b'' b'=\r'
b'==41' '=A' b'=41' b'=A'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18022>
_______________________________________
More information about the Python-bugs-list
mailing list