[issue20480] Add ipaddress property to get name of reverse DNS pointer

Antoine Pitrou report at bugs.python.org
Sun Feb 2 02:55:07 CET 2014


Antoine Pitrou added the comment:

Thanks for the patch, Leon. Is the trailing dot actually desired?

>>> ipaddress.ip_address("127.0.0.1").reverse_name
'1.0.0.127.in-addr.arpa.'

Also, to accept your contribution, we will need you to fill a contributor's agreement. See http://www.python.org/psf/contrib/

----------
nosy: +pitrou
stage:  -> patch review

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


More information about the Python-bugs-list mailing list