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

2021-11-24 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2013-02-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- type: behavior - enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___

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

2011-09-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I agree that the codec shouldn't decode unicode strings. However, the operation performed is still meaningful: users may type ACE (ascii-compatibly-encoded) DNS names into a user interface, and the application may then represent this as a

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

2011-09-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___ ___

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

2011-09-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: +1. decode_idna is likely to be useful to the email package. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___

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

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___ ___ Python-bugs-list

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

2011-07-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___ ___ Python-bugs-list

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

2010-12-30 Thread Antoine Pitrou
Antoine Pitrou pit...@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 ;) --

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

2010-12-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Martin's original code (r32301) was pretty clear: 32301 loewis # IDNA allows decoding to operate on Unicode strings, too. 32301 loewis if isinstance(input, unicode): 32301 loewis

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

2010-12-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@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

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

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 3.1 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___