[issue32437] UnicodeError: 'IDNA does not round-trip'

2017-12-28 Thread Berker Peksag
Berker Peksag added the comment: There is an open issue about adding IDNA 2008 support: Issue 17305. Closing this one as a duplicate of that issue. -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDNA2008 encoding missing __

[issue32437] UnicodeError: 'IDNA does not round-trip'

2017-12-28 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32437] UnicodeError: 'IDNA does not round-trip'

2017-12-28 Thread Марк Коренберг
New submission from Марк Коренберг : First: This is the bug: In [1]: 'großhandel-shop'.encode('idna') Out[1]: b'grosshandel-shop' This lead to this: 'xn--einla-pqa'.decode('idna') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/encodings/idna.py", line 214,