[New-bugs-announce] [issue10603] __file__ not usable, with certain paths on windows XP.
report at bugs.python.org
Thu Dec 2 12:16:41 CET 2010
New submission from Campbell Barton <ideasman42 at gmail.com>:
# create this path.
# it could be made by any application but including this line
# so encoding is not confused.
# Now create a new script and save in the newly created dir
# In c:\äöü\test.py add the following line
# Now run the script from the command line using its absolute path.
--- This gives an error.
Traceback (most recent call last):
File "m:\\xc3\xa4\xc3\xb6\xc3¼\test.py", line 2, in <module>
WindowsError: [Error 3] The system cannot find the path specified: 'm:\\\xc3\xa4\xc3\xb6\xc3¼\\*.*'
This is a bug because a script should be able to inspect the path where it is located.
components: Interpreter Core
title: __file__ not usable, with certain paths on windows XP.
versions: Python 3.1
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce