[issue35989] ipaddress.IPv4Network allows prefix > 32

Stéphane Wirtel report at bugs.python.org
Wed Feb 13 15:47:15 EST 2019


Stéphane Wirtel <stephane at wirtel.be> added the comment:

I proposed my PR but I prefer a review because in the code of ipaddress, there is a function for the validation of an address with the netmask. Maybe we could use this function and try to refactor/improve the current code.

----------
nosy: +matrixise

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


More information about the Python-bugs-list mailing list