[issue18022] Inconsistency between quopri.decodestring() and email.quoprimime.decode()
Serhiy Storchaka
report at bugs.python.org
Mon May 20 16:13:28 CEST 2013
New submission from Serhiy Storchaka:
>>> import quopri, email.quoprimime
>>> quopri.decodestring(b'==41')
b'=41'
>>> email.quoprimime.decode('==41')
'=A'
I don't see a rule about double '=' in RFC 1521-1522 or RFCs 2045-2047 and I think quopri is wrong.
Other half of this bug (encoding '=' as '==') was fixed in 9bc52706d283.
----------
components: Library (Lib), email
messages: 189663
nosy: Jeremy.Hylton, barry, gvanrossum, r.david.murray, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Inconsistency between quopri.decodestring() and email.quoprimime.decode()
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18022>
_______________________________________
More information about the Python-bugs-list
mailing list