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 lemburg
Recipients fredstober, lemburg, martin.panter, r.david.murray, vajrasky
Date 2014-12-17.12:26:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418819208.25.0.160487673278.issue20121@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Vajrasky: a patch for the documentation would probably be a good idea.

Note that mixing line end conventions in a single text is never a good idea. If you stick to one line end convention, there's no problem with the codec, AFAICT.

>>> codecs.encode(b'\r\n\r\n', 'quopri_codec')
b'\r\n\r\n'
>>> codecs.decode(_, 'quopri_codec')
b'\r\n\r\n'
>>> codecs.encode(b'\n\n', 'quopri_codec')
b'\n\n'
>>> codecs.decode(_, 'quopri_codec')
b'\n\n'
History
Date User Action Args
2014-12-17 12:26:48lemburgsetrecipients: + lemburg, r.david.murray, martin.panter, vajrasky, fredstober
2014-12-17 12:26:48lemburgsetmessageid: <1418819208.25.0.160487673278.issue20121@psf.upfronthosting.co.za>
2014-12-17 12:26:48lemburglinkissue20121 messages
2014-12-17 12:26:48lemburgcreate