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 <20121103112354.GA32415@sleipnir.bytereef.org>
In-reply-to <1351939890.69.0.635596240554.issue16218@psf.upfronthosting.co.za>
Content
I think this is what went wrong on Windows in the previous test (see
Lib/test/test_cmd_line_script.py:43):

>>> 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.
History
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