Georg Brandl added the comment: This is the same issue you can see with cStringIO.StringIO(u"abc").getvalue(). This behavior will not be changed, as per #1730114.
Marc-Andre: would it be okay to add an explicit str() call in the StringIO calls in quopri_codec and uu_codec, so that non-ASCII unicode strings give an error on decode(), as binascii.b2a_qp() does? ---------- nosy: +georg.brandl ____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue883466> ____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com