Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed as not planned
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard 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
Description
Bug report
importenumclassbitmap(enum.IntFlag): passprint(bitmap.from_bytes(b'\x00', 'little'))3.11
bitmap(0) 3.12.0b4
Traceback (mostrecentcalllast): File"/.../cpython/test.py", line6, in<module>print(bitmap.from_bytes(b'\x00', 'little')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File"/.../cpython/Lib/enum.py", line742, in__call__returncls._create_( ^^^^^^^^^^^^^File"/.../cpython/Lib/enum.py", line870, in_create_foriteminnames: TypeError: 'NoneType'objectisnotiterableI bisected the issue to #99500.
/CC: @ethanfurman
Your environment
- CPython versions tested on:
3.12.0b4 - Operating system and architecture: macOS ARM64
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard 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