pybind: Add standard error message and fix print of path as byte object in error message
3 - minor
Pull request ID:
Previously, the following message was printed.
>>> mkdir y [Errno 17] error in mkdir 'b'y' >>> mkdir t/p (2, "error in mkdir 'b't/p'': error code 2")
After applying the patch series
>>> mkdir y error in mkdir y: File exists [Errno 17] >>> mkdir t/p error in mkdir t/p: No such file or directory [Errno 2]