Alexey Luchko <soulne...@gmail.com> added the comment:

Yes. With io.BytesIO() output, it works.

However, this kind of error messages is quite very confusing. It better be 
possible to distinguish binary and text streams, so one (including quopri 
module) could tell it won't work in advance %)

Thanks for referring to binascii module as well!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32268>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to