Message207281
| 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:50 | fredstober | set | recipients: + fredstober |
| 2014-01-04 11:54:50 | fredstober | set | messageid: <1388836490.83.0.337537980753.issue20121@psf.upfronthosting.co.za> |
| 2014-01-04 11:54:50 | fredstober | link | issue20121 messages |
| 2014-01-04 11:54:50 | fredstober | create | |