[issue22876] ip_interface can't be broadcast or number net

2014-11-15 Thread Вячеслав
Вячеслав added the comment: Probably worth noting that network is unnumbered in ip_network and ip_interface functions. Based on this flag to decide whether there is a possibility to use the network address and broadcast address in the network What do you think about this

[issue22876] ip_interface can't be broadcast or number net

2014-11-15 Thread Вячеслав
Вячеслав added the comment: These addresses are used by each interface in the network and they can not be the address of the interface, of course have the technology ip-unnumbered. But it's more a special case. but I was confused behavior: >>> set(ip_network(u'19

[issue22876] ip_interface can't be broadcast or number net

2014-11-14 Thread Вячеслав
New submission from Вячеслав: ip_interface can't be network or broadcast address. Probably should throw an exception in such cases >>> ip_interface(u'192.168.1.0/25') IPv4Interface(u'192.168.1.0/25') >>> ip_interface(u'192