This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients giampaolo.rodola, iritkatriel, loewis, mmilkin, r.david.murray
Date 2021-11-29.23:46:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638229608.8.0.503838395866.issue9682@roundup.psfhosted.org>
In-reply-to
Content
Reproduced on 3.11:

Traceback (most recent call last):
  File "/Users/iritkatriel/src/cpython-1/Lib/encodings/idna.py", line 165, in encode
    raise UnicodeError("label empty or too long")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: label empty or too long

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/iritkatriel/src/cpython-1/Lib/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
History
Date User Action Args
2021-11-29 23:46:48iritkatrielsetrecipients: + iritkatriel, loewis, giampaolo.rodola, r.david.murray, mmilkin
2021-11-29 23:46:48iritkatrielsetmessageid: <1638229608.8.0.503838395866.issue9682@roundup.psfhosted.org>
2021-11-29 23:46:48iritkatriellinkissue9682 messages
2021-11-29 23:46:48iritkatrielcreate