[issue27512] os.fspath is certain to crash when exception raised in __fspath__

Xiang Zhang report at bugs.python.org
Thu Jul 14 06:48:34 EDT 2016


Xiang Zhang added the comment:

I think such omissions are hard to predict and you won't know where is the omission until you encounter it. So if you don't know, how do you know what to put in the tests? And if it is encountered and fixed, such errors should not happen again.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27512>
_______________________________________


More information about the Python-bugs-list mailing list