[issue28577] ipaddress.ip_network(...).hosts() returns nothing for an IPv4 /32

Xiang Zhang report at bugs.python.org
Tue Mar 20 22:14:00 EDT 2018


Xiang Zhang <angwerzx at 126.com> added the comment:

I fixed #27683 since it looks more like an oversight and regression to me instead of a deliberate change. I'd like the behaviour to be consistent across versions. As for "/32", it needs discussion or some expert makes a choice.

----------
resolution: not a bug -> 
stage: resolved -> 
versions: +Python 3.8 -Python 3.7

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


More information about the Python-bugs-list mailing list