[issue4927] Inconsistent unicode repr for fileobject
Kristján Valur Jónsson
report at bugs.python.org
Fri Jan 16 11:30:43 CET 2009
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
That's true, but a it's a different point entirely
You see, this is not a problem with backslashes only:
If you have any kind of control caracter or high bit character in your
filename, you may be in for trouble, because interpolating that string
verbatim into the repr can cause uforeseen problems when it is printed
out.
(and forward slashes are't the same as backslashes on windows. UNC
paths (\\my-pc\my-share\...) need backslashes.)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4927>
_______________________________________
More information about the Python-bugs-list
mailing list