[issue20480] Add ipaddress property to get name of reverse DNS PTR record
Antoine Pitrou
report at bugs.python.org
Sun Feb 2 15:09:47 CET 2014
Antoine Pitrou added the comment:
Well that convention is also used in existing APIs:
>>> socket.gethostbyaddr("8.8.8.8")
('google-public-dns-a.google.com', [], ['8.8.8.8'])
(note that this merely reflects a POSIX API)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20480>
_______________________________________
More information about the Python-bugs-list
mailing list