This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients asvetlov, ezio.melotti, gklein, jcea, jkloth, python-dev, serhiy.storchaka, skrah, tim.golden, turncc, vstinner
Date 2012-11-03.11:23:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
I think this is what went wrong on Windows in the previous test (see

>>> s = '\udcf1\udcea\udcf0\udce8\udcef\udcf2'
>>> f = open(s, "w")
>>> f.write("print('%s\\n' % __file__)")
>>> f.close()

C:\Users\stefan\pydev\cpython>PCbuild\amd64\python_d.exe ïïïïï�
<encoding error>

So __file__ isn't set correctly, which looks like a bug to me. I'm not sure
whether it should be part of this issue or if we should open a new one.
Date User Action Args
2012-11-03 11:23:54skrahsetrecipients: + skrah, jcea, vstinner, tim.golden, jkloth, ezio.melotti, asvetlov, gklein, python-dev, serhiy.storchaka, turncc
2012-11-03 11:23:54skrahlinkissue16218 messages
2012-11-03 11:23:53skrahcreate