[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-05-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue36845 that seems to have fixed this. -- nosy: +xtreak ___ Python tracker ___

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-03-05 Thread James Edwards
James Edwards added the comment: It may be worth also addressing the fact that IPv6Network makes no restriction on it's netmask (when specified as a tuple). -- nosy: +jedwards ___ Python tracker

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-03-05 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi @maxtrixise, thanks for PR, > there is a function for the validation of an address with the netmask Which one do you want to use? -- ___ Python tracker

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-02-13 Thread Stéphane Wirtel
Stéphane Wirtel 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

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-02-13 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +11875 stage: test needed -> patch review ___ Python tracker ___ ___

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-02-13 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) nosy: +pitrou stage: -> test needed type: -> behavior ___ Python tracker ___

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-02-13 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35989] ipaddress.IPv4Network allows prefix > 32

2019-02-13 Thread John Florian
New submission from John Florian : I wanted a simple is_valid_ipv4_network() function, so I wrote one and a bunch of unit tests where I discovered that I can legally: >>> n = IPv4Network(('192.168.123.234', 12345678)) >>> n IPv4Network('192.168.123.234/12345678') >>> n.prefixlen 12345678 >>>