Message174606
| 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 ïïïïïï¿1⁄2
<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:54 | skrah | set | recipients:
+ skrah, jcea, vstinner, tim.golden, jkloth, ezio.melotti, asvetlov, gklein, python-dev, serhiy.storchaka, turncc |
| 2012年11月03日 11:23:54 | skrah | link | issue16218 messages |
| 2012年11月03日 11:23:53 | skrah | create |
|