Author skrah
Recipients asvetlov, ezio.melotti, gklein, jcea, jkloth, python-dev, serhiy.storchaka, skrah, tim.golden, turncc, vstinner
Date 2012-11-02.22:53:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20121102225309.GA26015@sleipnir.bytereef.org>
In-reply-to <1351893583.2706.16.camel@raxxla>
Content
Serhiy Storchaka <report@bugs.python.org> wrote:
> Try with my last patch (pythonrun_filename_decoding_test.patch). It
> fixes also fail on Linux with 8-bit locale.

Unfortunately your last patch does not work on Windows. -- I'm too lazy
to step through the domain specific language of test_cmd_line_script.py.
Is this what is supposed to be tested:

Python 3.4.0a0 (default:b2bd62d1644f+, Nov  2 2012, 22:56:48) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> s = '\udcf1\udcea\udcf0\udce8\udcef\udcf2'
>>> f = open(s, "w")
>>> f.write('print("hello world")\n')
>>> f.close()

C:\Users\stefan\pydev\cpython>PCbuild\amd64\python_d.exe ïïïïï�
hello world

Because that just works without the complex test machinery. :)
History
Date User Action Args
2012-11-02 22:53:49skrahsetrecipients: + skrah, jcea, vstinner, tim.golden, jkloth, ezio.melotti, asvetlov, gklein, python-dev, serhiy.storchaka, turncc
2012-11-02 22:53:40skrahlinkissue16218 messages
2012-11-02 22:53:31skrahcreate