Summary

pybind11 3.0.1 fixes enum-pointer caster compilation, reduces template depth in make_index_sequence, and resolves sub-interpreter segfault and re-import issues. It also adds C++20 support for older C++ runtimes and addresses several compiler warnings.

Why it matters

These fixes improve the reliability of Python extensions at the C++ boundary, particularly for projects using sub-interpreters or older toolchains.

Sources