Commit 3572bc3e authored by Trygve Laugstøl's avatar Trygve Laugstøl
Browse files

Changes accessor::operator=() to throw error_already_set() instead of using pybind11_fail().

PyObject_SetItem and PyObject_SetAttr both throws an exception on
failure so this will show the underlying exception instead of masking
it.

Fixes #303.
parent f38f359f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment