[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-06-06 Thread Roger Luethi
Roger Luethi added the comment: Seeing that the patch merged for issue 21513 left the existing test for 100.64.0.0 (IPv4 network) untouched, I think it would make more sense to make that address a constant everywhere in a separate patch (if that is indeed desirable

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-05-18 Thread Roger Luethi
Roger Luethi added the comment: New patch includes tests. Lightly tested with Python 3.4 (because trunk doesn't build for me right now): tests fail without patch, pass with patch. Patch re-diffed against trunk. -- Added file: http://bugs.python.org/file35281/ipv4addr_global2-hg.diff

[issue21386] ipaddress.IPv4Address.is_global not implemented

2014-04-29 Thread Roger Luethi
New submission from Roger Luethi: Lib/ipaddress.py does not implement is_global for IPv4Address, in contrast to the documentation which states for IPv4Address.is_global: True if the address is allocated for public networks. A patch like the one attached to this report should fix