[issue6208] path separator output ignores shell's path separator: / instead of \

Tim Golden report at bugs.python.org
Mon Jun 15 16:54:28 CEST 2009


Tim Golden <mail at timgolden.me.uk> added the comment:

Eric Smith wrote:
> Eric Smith <eric at trueblade.com> added the comment:
> 
>> So is this a cosmetic issue or a functional issue? 
> 
> It's a cosmetic issue.
> 
>> Also, even if it could figure that out, how would it know whether
>> a particular filename "stringification" with os.path.join() was 
>> intended for display to the user or to be passed to a Windows API?
> 
> The Windows API's (at least every one I've ever called) take either
> slashes or backslashes, so it wouldn't matter.

Just for information's sake, the shell APIs usually only accept backslashes.

TJG

----------
nosy: +tim.golden
title: path separator output ignores shell's path separator: / instead of \ -> path separator output ignores shell's path separator: /	instead of \

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


More information about the Python-bugs-list mailing list