New submission from Fred Stober:

While trying to encode some binary data, I encountered this behaviour of the 

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

If this behaviour is really intended, it should be mentioned in the 
documentation that this coded is not bijective.

components: Library (Lib)
messages: 207281
nosy: fredstober
priority: normal
severity: normal
status: open
title: quopri_codec newline handling
versions: Python 2.7

Python tracker <>
Python-bugs-list mailing list

Reply via email to