[issue3232] Wrong str->bytes conversion in Lib/encodings/idna.py

Antoine Pitrou report at bugs.python.org
Thu Dec 30 11:55:15 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Arguably, it is not a bug if codec's decode method rejects unicode
> strings with a TypeError.

Agreed, but it would be better if it did so deliberately and explicitly, rather than as a result of a bogus forward-port ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3232>
_______________________________________


More information about the Python-bugs-list mailing list