Christian Heimes <[email protected]> added the comment:
There are two IDNA standard. Python's standard library only provides IDNA 2003
and does not support IDNA 2008.
# IDNA 2003
>>> '\u13e3\u13b3\u13a9'.encode('idna')
b'xn--tz9ata7l'
# idna package with IDNA 2008
>>> idna.encode('\u13e3\u13b3\u13a9')
b'xn--f9dt7l'
The bug report is a duplicate of #17305.
----------
nosy: +christian.heimes
resolution: -> duplicate
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40845>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com