Message78554
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:33 | beazley | set | recipients:
+ beazley |
2008-12-30 18:30:32 | beazley | set | messageid: <1230661832.97.0.502272701907.issue4769@psf.upfronthosting.co.za> |
2008-12-30 18:30:32 | beazley | link | issue4769 messages |
2008-12-30 18:30:31 | beazley | create | |
|