[issue22472] OSErrors should use str and not repr on paths
Serhiy Storchaka
report at bugs.python.org
Tue Sep 23 22:43:39 CEST 2014
Serhiy Storchaka added the comment:
File names can contain special characters such as spaces or even newlines. str() can be ambiguous. I prefer always use repr() for file names or other user data.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22472>
_______________________________________
More information about the Python-bugs-list
mailing list