[issue28431] socket gethostbyaddr returns IPv6 names for 127.0.0.1

R. David Murray report at bugs.python.org
Thu Oct 13 11:24:53 EDT 2016


R. David Murray added the comment:

I believe that you will find that the same thing happens if you call gethostbyaddr from C.  So this either isn't a bug, or it isn't a bug in Python :)

(Correct me if I'm wrong; I don't have time to actually test it myself, but gethostbyaddr is a fairly thing wrapper.)

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28431>
_______________________________________


More information about the Python-bugs-list mailing list