[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

Ewoud Kohl van Wijngaarden report at bugs.python.org
Sun Sep 17 18:52:00 EDT 2017


Ewoud Kohl van Wijngaarden added the comment:

Today I ran into this as well. In the case of IPv6 it's simple to decide what should be returned but on the IPv4Network I disagree. My expectation would be the domain where I would make the reverse needed. That means for 127.0.0.0/13 it should be '127.in-addr.arpa'.

I implemented it this way in the linked PR but I'm open to other opinions.

----------
nosy: +ekohl

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30528>
_______________________________________


More information about the Python-bugs-list mailing list