-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
This is a follow-up of: #136794
Bug description:
IPv6 address block fec0::/10
has been deprecated in 2004 as a "Site-Local scoped address prefix" and is now a `` (see Internet Protocol Version 6 Address Space and RFC 3879).
class _IPv6Constants._reserved_networks
is still missing address block fec0::/10
from the list: https://github.com/python/cpython/blob/main/Lib/ipaddress.py#L2402-L2411
We should add that address block to the list and update the documentation (https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_reserved)
The question is do we also:
- remove the
is_site_local
property since according to RFC 3879, these addresses have been completely deprecated? (= breaking change) - keep the
is_site_local
property to avoid breaking changes, but always returnFalse
as there is no such address block anymore?
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error