pybind11/include
Sergei Lebedev 87d1f6ba08 error_already_set::what() is now constructed lazily
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.
2019-08-28 10:36:19 +01:00
..
pybind11 error_already_set::what() is now constructed lazily 2019-08-28 10:36:19 +01:00