Skip to content

Migrate from py::enum_ to py::native_enum #303

@Joseph-Edwards

Description

@Joseph-Edwards

Version 3 of pybind11 saw the introduction of py::native_enum. These enums integrate better with Python's standard enum type, so we should migrate to using these where possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions