[issue32268] quopri.decode(): string argument expected, got 'bytes'

R. David Murray report at bugs.python.org
Sun Dec 10 16:40:18 EST 2017


R. David Murray <rdmurray at bitdance.com> added the comment:

Right, this is not a bug, it is working as documented.  You could submit an enhancement request, but I'm surprised to find that anyone is actually using that module :)

We unfortunately have multiple implementations of quoted printable handling in the stdlib.  You might be interested in the functions in the binascii module, which do accept unicode input when doing decoding.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32268>
_______________________________________


More information about the Python-bugs-list mailing list