[issue27161] Confusing exception in Path().with_name
R. David Murray
report at bugs.python.org
Tue May 31 00:18:27 EDT 2016
R. David Murray added the comment:
Again, I don't think so. We don't generally wrap TypeErrors or ValueErrors. On the other hand, if the try/except can *add* additional contextual information about the error, it might be worthwhile.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27161>
_______________________________________
More information about the Python-bugs-list
mailing list