Tin mới
carlbordum:88123-enum-contains
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
[Enum] update __contains__ to return True for valid values #88123
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
: Implement new Enum __contains__
Revert 30935 defer bpo45162 to 312 (
emscripten-core/emscripten#17269
https://github.com/python/cpython/issue/89336
enum.Flag.__contains__ changed behavior since python 3.12 #131045