Why pybind11 generated enum type is not PEP 435 compatible. say, it doesn't have value attribute and it's not iterable.
Author: frank-xljCreated Jul 27, 2020Updated Sep 3, 2026
EDIT(eric): Deleted template text in body. Title describes issue sufficiently.
For reference: PEP 435
EDIT 2 (eric): See #253 per Ashley's mention.
Source: pybind/pybind11