[issue33433] ipaddress is_private misleading for IPv4 mapped IPv6 addresses
Gregory P. Smith
report at bugs.python.org
Mon May 17 03:33:04 EDT 2021
Gregory P. Smith <greg at krypto.org> added the comment:
Questionable as to if this counts as a bug or not, but I agree it is counter-intuitive given the purpose of actually checking the .is_private property of an address. So updating the behavior makes sense, but I'll be conservative w.r.t. behavior changes and not apply this to a 3.9 or earlier.
----------
nosy: +gregory.p.smith
type: -> enhancement
versions: +Python 3.10, Python 3.11 -Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33433>
_______________________________________
More information about the Python-bugs-list
mailing list