[issue22472] OSErrors should use str and not repr on paths

R. David Murray report at bugs.python.org
Tue Sep 23 22:34:45 CEST 2014


New submission from R. David Murray:

>>> open(r'c:\bad\path')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\bad\\path'

----------
components: Windows
messages: 227389
nosy: r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: OSErrors should use str and not repr on paths
versions: Python 3.4, Python 3.5

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


More information about the Python-bugs-list mailing list