[issue35734] ipaddress's _BaseV4._is_valid_netmask fails to detect invalid netmask like 255.254.128.0

Rémi Lapeyre report at bugs.python.org
Mon Jan 14 06:40:53 EST 2019


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

I couldn't find any use of _is_valid_netmask() in the code, why should this netmask be invalid?

As far as I can tell this should be a valid one, is there a reason to refuse it?

----------
nosy: +remi.lapeyre

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


More information about the Python-bugs-list mailing list