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

Alexander Belopolsky report at bugs.python.org
Thu Dec 30 02:53:48 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Arguably, it is not a bug if codec's decode method rejects unicode strings with a TypeError.  The 2.x implementation seems to allow decoding of ASCII-only unicode labels joined by arbitrary RFC 3490 separators.  I am not sure what the use case for this behavior would be.  In any case, supporting this would be a feature and it's acceptance would depend on the outcome of #7475.

----------
dependencies: +codecs missing: base64 bz2 hex zlib hex_codec ...
versions: +Python 3.3 -Python 3.1

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


More information about the Python-bugs-list mailing list