[issue15588] quopri: encodestring and decodestring handle bytes, not strings
Petri Lehtinen
report at bugs.python.org
Sat Aug 18 12:25:46 CEST 2012
Petri Lehtinen added the comment:
The encode() and decode() functions also expect binary file objects.
Attached a patch that changes documentation and docstrings. Removed the mentions of readline(), because read() is called on input instead, if the binascii module is available. Also removed the repeated descriptions of quotetabs and header in encodestring()'s docs.
----------
keywords: +needs review, patch
nosy: +petri.lehtinen
stage: -> patch review
Added file: http://bugs.python.org/file26886/issue15588.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15588>
_______________________________________
More information about the Python-bugs-list
mailing list