pytypes.h
19.7 KB
-
Changes accessor::operator=() to throw error_already_set() instead of using pybind11_fail(). · 3572bc3e
PyObject_SetItem and PyObject_SetAttr both throws an exception on failure so this will show the underlying exception instead of masking it. Fixes #303.
Trygve Laugstøl committed