This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fredstober
Recipients fredstober
Date 2014-01-04.11:54:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388836490.83.0.337537980753.issue20121@psf.upfronthosting.co.za>
In-reply-to
Content
While trying to encode some binary data, I encountered this behaviour of the quopri_codec:

>>> '\r\n\n'.encode('quopri_codec').decode('quopri_codec')
'\r\n\r\n'
>>> '\n\r\n'.encode('quopri_codec').decode('quopri_codec')
'\n\n'

If this behaviour is really intended, it should be mentioned in the documentation that this coded is not bijective.
History
Date User Action Args
2014-01-04 11:54:50fredstobersetrecipients: + fredstober
2014-01-04 11:54:50fredstobersetmessageid: <1388836490.83.0.337537980753.issue20121@psf.upfronthosting.co.za>
2014-01-04 11:54:50fredstoberlinkissue20121 messages
2014-01-04 11:54:50fredstobercreate