Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

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

There is an open issue to remove this method which is unused and undocumented 
issue27860. 

I have less knowledge on the subnet masking area but on searching the web there 
seems to be an RFC that asks for contiguous ones without intermixing zeroes 
that I hope OP is referring to.

* https://superuser.com/questions/601252/is-225-225-225-128-a-valid-subnet-mask
* 
https://superuser.com/questions/1151908/non-contiguous-subnet-mask/1151942#1151942

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35734>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to