pybind / pybind11

Seamless operability between C++11 and Python
https://pybind11.readthedocs.io/
Other
15.57k stars 2.09k forks source link

[smart_holder] Change `throw_if_uninitialized_or_disowned_holder()` to also show C++ type name. #4977

Closed rwgk closed 9 months ago

rwgk commented 9 months ago

Description

To aid debugging.

Suggested changelog entry:

rwgk commented 9 months ago

@karagog could you please help reviewing this PR?

rwgk commented 9 months ago

Thanks for the review!