mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-24 09:28:07 +00:00
Prior to this commit throwing error_already_set was expensive due to the eager construction of the error string (which required traversing the Python stack). See #1853 for more context and an alternative take on the issue. Note that error_already_set no longer inherits from std::runtime_error because the latter has no default constructor. |
||
---|---|---|
.. | ||
pybind11 |