[issue27683] ipaddress subnet slicing iterator malfunction
Stephen Shirley
report at bugs.python.org
Thu Aug 4 10:53:19 EDT 2016
Stephen Shirley added the comment:
The bug appears to be in the new form of the constructor. Here's a more minimal reproduction:
In python3.5:
>>> list(ipaddress.IPv4Network(("127.0.0.4", 31)).hosts())
[]
In python3.4
>>> list(ipaddress.IPv4Network("127.0.0.4/31").hosts())
[IPv4Address('127.0.0.4'), IPv4Address('127.0.0.5')]
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27683>
_______________________________________
More information about the Python-bugs-list
mailing list