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 christian.heimes
Recipients Peter92, christian.heimes, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-11-29.20:28:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606681702.77.0.305928899516.issue42495@roundup.psfhosted.org>
In-reply-to
Content
I cannot reproduce the issue on Linux:

# echo "127.0.0.2 xn-9q8h" >> /etc/hosts
# python3.8
>>> import socket
>>> socket.gethostbyaddr("127.0.0.2")
('xn-9q8h', [], ['127.0.0.2'])
History
Date User Action Args
2020-11-29 20:28:22christian.heimessetrecipients: + christian.heimes, paul.moore, vstinner, tim.golden, ezio.melotti, zach.ware, steve.dower, Peter92
2020-11-29 20:28:22christian.heimessetmessageid: <1606681702.77.0.305928899516.issue42495@roundup.psfhosted.org>
2020-11-29 20:28:22christian.heimeslinkissue42495 messages
2020-11-29 20:28:22christian.heimescreate