-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Enum _missing_ function changes __contains__ behaviour #132684
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesrelease-blockerstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesrelease-blockerstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done
Status
Done
Bug report
Bug description:
I observed different behavior for Enum
__contains__in 3.13.2 and 3.13.3 if there is_missing_method implemented:IMO
_missing_should only influence the__call__method:CPython versions tested on:
3.13
Operating systems tested on:
macOS
Linked PRs