mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
58e551cc73
If an exception is thrown during module initialization, the error_already_set destructor will try to call `get_internals()` *after* setting Python's error indicator, resulting in a `SystemError: ... returned with an error set`. Fix that by temporarily stashing away the error indicator in the destructor. |
||
---|---|---|
.. | ||
pybind11 |