R. David Murray added the comment: The error is actually the first case returning string rather than bytes. See issue 6302.
---------- dependencies: +Add decode_header_as_string method to email.utils resolution: -> duplicate stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21492> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com