Unverified Commit fe9ee86b authored by Yannick Jadoul's avatar Yannick Jadoul Committed by GitHub
Browse files

Add check if `str(handle)` correctly converted the object, and throw...

Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not (bis) (#2477)

* Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not

* Fix tests on Python 3

* Apply @rwgk's fixes to cherry-picked commits from #2392
parent b47efd35
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