Martin v. Löwis <mar...@v.loewis.de> added the comment:

> Of course my example was not that trivial, since i do sort of
> directory-walking, and i get the value passed over. And in Windows it is
> with backslash!

Not necessarily. Windows supports forward slashes as path separators
just as well.

> Ok, i will check my code, wherever i use os.path.basename and change it
> to process as raw string.

You can consider avoiding the path separator by using os.path.join all
the time. There might still be places where you need to provide absolute
file names as literals in your source code, but those should be few.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to