[issue21386] ipaddress.IPv4Address.is_global not implemented
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). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21386 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21386] ipaddress.IPv4Address.is_global not implemented
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21386 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21386] ipaddress.IPv4Address.is_global not implemented
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 that. -- components: Library (Lib) files: ipv4addr_global.diff keywords: patch messages: 217511 nosy: rluethi priority: normal severity: normal status: open title: ipaddress.IPv4Address.is_global not implemented versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35092/ipv4addr_global.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21386 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com