Open jengelh opened 10 months ago
a second instance of noexcept-is-too-much:
CID 322135 (#1 of 1): Uncaught exception (UNCAUGHT_EXCEPT)
exn_spec_violation: An exception of type pybind11::error_already_set is thrown
but the exception specification noexcept doesn't allow it to be thrown. This will result in a call to terminate().
2665 inline const char *error_already_set::what() const noexcept {
fun_call_w_exception: Called function [gil_scoped_acquire] throws an exception of type pybind11::error_already_set.
2666 gil_scoped_acquire gil;
2667 error_scope scope;
2668 return m_fetched_error->error_string().c_str();
2669}
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
2.11.1
Problem description
There is a report made for pytypes.h:
Reproducible example code
No response
Is this a regression? Put the last known working version here if it is.
Not a regression