[issue16218] Python launcher does not support unicode characters

2016-06-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16218] Python launcher does not support unicode characters

2013-01-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: > I assign the issue to you than. Is it ok? Sure. I backported all changesets related to this issue to Python 3.2 and 3.3. So I can finally close this issue. -- assignee: haypo -> resolution: -> fixed status: open -> closed

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16

[issue16218] Python launcher does not support unicode characters

2012-12-26 Thread STINNER Victor
STINNER Victor added the comment: Status of the different issues: #16416, Mac OS X: 3.2, 3.3, 3.4 #16455, FreeBSD and Solaris: 3.4 #16218, set_main_loader: 3.3, 3.4 #16218, test_cmd_line_script: 3.4 (3.3 has an old copy of the test) #16414, add support.TESTFN_NONASCII: 3.4 #16444, use support.TE

[issue16218] Python launcher does not support unicode characters

2012-12-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: I assign the issue to you than. Is it ok? -- assignee: asvetlov -> haypo ___ Python tracker ___ ___

[issue16218] Python launcher does not support unicode characters

2012-12-25 Thread STINNER Victor
STINNER Victor added the comment: The issue is now fixed on all platforms for Python 3.4. Please keep the issue open until all changes are backported to Python 3.3 or even Python 3.2. -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-12-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: Victor, are you done all work for the issue? Can it be closed? -- ___ Python tracker ___ ___ Python-

[issue16218] Python launcher does not support unicode characters

2012-12-03 Thread STINNER Victor
STINNER Victor added the comment: > New changeset c25635b137cc by Victor Stinner in branch 'default': > Issue #16455: On FreeBSD and Solaris, if the locale is C, the > http://hg.python.org/cpython/rev/c25635b137cc This changeset should fix this issue on FreeBSD and Solaris: see the issue #16455

[issue16218] Python launcher does not support unicode characters

2012-11-12 Thread STINNER Victor
STINNER Victor added the comment: > Back to green for all branches on FreeBSD, thank you Victor FreeBSD buildbots are green because I disabled the test on undecodable bytes! See issue #16455 which proposes a fix for FreeBSD and OpenIndiana. > The "Mountain Lion" bots still fail. :) Yeah I kno

[issue16218] Python launcher does not support unicode characters

2012-11-12 Thread Stefan Krah
Stefan Krah added the comment: The "Mountain Lion" bots still fail. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue16218] Python launcher does not support unicode characters

2012-11-12 Thread koobs
koobs added the comment: Back to green for all branches on FreeBSD, thank you Victor -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue16218] Python launcher does not support unicode characters

2012-11-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6017f09ead53 by Victor Stinner in branch '3.3': Issue #16218, #16444: Backport improvment on tests for non-ASCII characters http://hg.python.org/cpython/rev/6017f09ead53 -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: OpenIndiana 3.3 and 3.x buildbot broken too for a week. I suggest to revert this patch and use the custom buildbots to "debug it" before committing again. A week, and counting, it is about time. Feel free to hammer my OpenIndiana custom buildbots. --

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If there's not another revision of the test patch in the wings, can > 56df0d4f0011 also be applied to 3.3, as tests are still failing on at > least koobs-freebsd and koobs-freebsd-clang buildbots. Let me insist on what koobs just said. The Windows buildbots ar

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread STINNER Victor
STINNER Victor added the comment: "If there's not another revision of the test patch in the wings, can 56df0d4f0011 also be applied to 3.3, as tests are still failing on at least koobs-freebsd and koobs-freebsd-clang buildbots." I just applied the patch of the issue #16444. I will check 3.4 bu

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b8a8bc6ba9c by Victor Stinner in branch 'default': Issue #16444, #16218: Use TESTFN_UNDECODABLE on UNIX http://hg.python.org/cpython/rev/6b8a8bc6ba9c -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-10 Thread STINNER Victor
STINNER Victor added the comment: >> Non-ASCII filenames were already supported with UTF-8 locale encoding. > > Test the example in msg173373. It fails without fix. Oh, I didn't understand that, sorry. I created #16444 to test also UTF-8 locale encoding with undecodable filenames (undecodable

[issue16218] Python launcher does not support unicode characters

2012-11-09 Thread koobs
koobs added the comment: If there's not another revision of the test patch in the wings, can 56df0d4f0011 also be applied to 3.3, as tests are still failing on at least koobs-freebsd and koobs-freebsd-clang buildbots. -- nosy: +koobs ___ Python trac

[issue16218] Python launcher does not support unicode characters

2012-11-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think here should be used something like CommonTest.test_nonascii_abspath() in Lib/test/test_genericpath.py. -- ___ Python tracker ___

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread STINNER Victor
STINNER Victor added the comment: I created the issue #16416 to fix the Mac OS X case. -- ___ Python tracker ___ ___ Python-bugs-list

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Non-ASCII filenames were already supported with UTF-8 locale encoding. Test the example in msg173373. It fails without fix. -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread STINNER Victor
STINNER Victor added the comment: >>> It tests nothing on utf-8 locale (test passed even when bug is not fixed). >> The issue is about Windows and UTF-8 is never used as filesystem encoding on >> Windows. > The issue exists on Linux as I reported in msg173373. I don't understand your problem. N

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread STINNER Victor
STINNER Victor added the comment: "It skipped on locales which does not support "£" (cp1006, cp1250, cp1251, cp737, cp852, cp855, cp866, cp874, cp949, euc_kr, gb2312, gbk, hz, iso2022_kr, iso8859_10, iso8859_11, iso8859_16, iso8859_2, iso8859_4, iso8859_5, iso8859_6, johab, koi8_r, koi8_u, mac

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The issue is about Windows and UTF-8 is never used as filesystem encoding > on Windows. The issue exists on Linux as I reported in msg173373. -- ___ Python tracker ___

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread STINNER Victor
STINNER Victor added the comment: The test is still failing on Mac OS X: == FAIL: test_non_ascii (test.test_cmd_line_script.CmdLineTest) -- Traceback (most r

[issue16218] Python launcher does not support unicode characters

2012-11-05 Thread STINNER Victor
STINNER Victor added the comment: > It tests nothing on utf-8 locale (test passed even when bug is not fixed). The issue is about Windows and UTF-8 is never used as filesystem encoding on Windows. -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Such test is not enough. 1. It skipped on locales which does not support "£" (cp1006, cp1250, cp1251, cp737, cp852, cp855, cp866, cp874, cp949, euc_kr, gb2312, gbk, hz, iso2022_kr, iso8859_10, iso8859_11, iso8859_16, iso8859_2, iso8859_4, iso8859_5, iso8859_

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well. Fix (and test) is related to bug in python itself (./Python/pythonrun.c) pylauncher should be tested also, you are right. -- ___ Python tracker _

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: How does the test which has been committed even test the Python launcher? It only calls assert_python_ok(), which should use the regular Python interpreter. -- nosy: +pitrou ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 56df0d4f0011 by Andrew Svetlov in branch 'default': Issue #16218: Fix test for issue again http://hg.python.org/cpython/rev/56df0d4f0011 -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like the last patch from Victor. It works on Windows also. -- ___ Python tracker ___ ___ Python-bu

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: I propose a test with a single non-ASCII character, which should be supported by more code pages/locale encodings. It checks also the value of __file__. I only ran the test on Linux with UTF-8 locale encoding. -- Added file: http://bugs.python.org/file

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: > @unittest.skipIf(sys.platform.startswith('freebsd') and > sys.getfilesystemencoding() == 'ascii', > 'skip on FreeBSD with ASCII filesystem encoding') Such skip is not a good idea. Many OS uses the Latin1 encoding when the C l

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: test_cmd_line_script.test_non_utf8() is failing on Mac OS X since the changeset 95d1adf144ee. == FAIL: test_non_utf8 (test.test_cmd_line_script.CmdLineTest)

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Andrew, you shod a flea. 1. Now the test skipped on non Cyrillic-compatible locales (such as en_US.ISO-8859-1). 2. On UTF-8 locale the test does not test the bug (it passed even without the patch). Here is a new patch. It should fail on FreeBSD with ASCII l

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95d1adf144ee by Andrew Svetlov in branch 'default': Issue #16218: skip test if filesystem doesn't support required encoding http://hg.python.org/cpython/rev/95d1adf144ee -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Stefan Krah
Stefan Krah added the comment: 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>PCbu

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like to follow Stefan suggestion. New test is simple and it works. -- ___ Python tracker ___ ___ P

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 884c2e93d3f7 by Andrew Svetlov in branch 'default': Issue #16218: Fix broken test for supporting nonascii characters in python launcher http://hg.python.org/cpython/rev/884c2e93d3f7 -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-03 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: Python launcher does not support non ascii characters -> Python launcher does not support unicode characters ___ Python tracker ___ __