Skip to content

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

Merged
rwgk merged 2 commits intopybind:str-bytes-cleanupfrom
YannickJadoul:fix-python2-str-malformed_utf8
Aug 17, 2020
Merged

Add check if `str(handle)` correctly converted the object, and throw py::error_already_set if not#2392
rwgk merged 2 commits intopybind:str-bytes-cleanupfrom
YannickJadoul:fix-python2-str-malformed_utf8

Commits