[issue21828] added/corrected containment relationship for networks in lib ipaddress

2014-06-23 Thread Nicolas Limage
Changes by Nicolas Limage : -- nosy: -Nicolas.Limage resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Pyth

[issue21828] added/corrected containment relationship for networks in lib ipaddress

2014-06-23 Thread Nicolas Limage
New submission from Nicolas Limage: The current version of the ipaddress library implements containment relationship in a way that a network is never contained in another network : >>> from ipaddress import IPv4Network,IPv4Address >>> IPv4Network(u'192.168.22.0/24') in IPv4Network(u'192.168.0.0