Open
Description
Bug report
Bug description:
This code populates the AddressFamily
enum:
IntEnum._convert_(
'AddressFamily',
__name__,
lambda C: C.isupper() and C.startswith('AF_'))
But AF_DECnet
isn't all uppercase so it's currently excluded. Do we need the isupper()
test? I don't see anything that begins with AF_
in socket other than the existing members of AddressFamily
and AF_DECnet
.
CPython versions tested on:
3.13
Operating systems tested on:
macOS
Linked PRs
Metadata
Metadata
Assignees
Labels
only security fixesonly security fixesbugs and security fixesbugs and security fixesbugs and security fixesbugs and security fixesPython modules in the Lib dirPython modules in the Lib dirAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error