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 vstinner
Recipients abarry, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-01-28.00:58:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453942730.98.0.111965775649.issue26227@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, socket.gethostbyaddr() must decode the hostname from the ANSI code page, not from UTF-8. See for example this issue:
https://bugs.python.org/issue26226#msg259077

Attached patch changes the socket module to decode hostnames from the ANSI code page on Windows.

See also issues #9377, #16652 and #5004.
History
Date User Action Args
2016-01-28 00:58:51vstinnersetrecipients: + vstinner, paul.moore, tim.golden, ezio.melotti, zach.ware, steve.dower, abarry
2016-01-28 00:58:50vstinnersetmessageid: <1453942730.98.0.111965775649.issue26227@psf.upfronthosting.co.za>
2016-01-28 00:58:50vstinnerlinkissue26227 messages
2016-01-28 00:58:50vstinnercreate