[New-bugs-announce] [issue30528] ipaddress.IPv{4, 6}Network.reverse_pointer is broken

Hristo Venev report at bugs.python.org
Wed May 31 13:15:31 EDT 2017

New submission from Hristo Venev:

`ipaddress.IPv4Network('').reverse_pointer = '0/'` is definitely wrong. I think it should be '0.127.in-addr.arpa'.

A funnier case, `ipaddress.IPv6Network('2001:db8::/32').reverse_pointer = '2.3./.'`.

For the case where no single reverse pointer exists (e.g. ``), I think it should be `None`.

components: Library (Lib)
messages: 294854
nosy: h.venev
priority: normal
severity: normal
status: open
title: ipaddress.IPv{4,6}Network.reverse_pointer is broken
type: behavior
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list