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 beazley
Recipients beazley
Date 2008-12-30.18:30:31
SpamBayes Score 1.2086291e-05
Marked as misclassified No
Message-id <>
One more followup.   The quopri module (which is highly related to 
base64 in that quopri and base64 are often used together within MIME) 
does accept both unicode and byte strings when decoding.  For example, 
this works:

>>> quopri.decodestring('Hello World')
b'Hello World'
>>> quopri.decodestring(b'Hello World')
b'Hello World'

However, the quopri module, like base64, uses byte strings almost 
everywhere else.  For example, encoding a byte string with quopri still 
produces bytes (just like base64)

>>> quopri.encodestring(b'Hello World')
b'Hello World'
Date User Action Args
2008-12-30 18:30:33beazleysetrecipients: + beazley
2008-12-30 18:30:32beazleysetmessageid: <>
2008-12-30 18:30:32beazleylinkissue4769 messages
2008-12-30 18:30:31beazleycreate