[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Starting at r85691, the full test suite of Python 3.2 pass with ASCII, ISO-8859-1 and UTF-8 locale encodings in a non-ascii directory. The work on this issue is done. -- resolution: - fixed status: open - closed

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Updated list of failing test with py3k and a non-ascii path: * Linux, LANG=C: test_gc test_gdb test_runpy test_zipimport * Windows: test_email test_httpservers test_zipimport Possible reasons: * test_httpservers

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: r85655 fixed test_gdb failure. test_runpy failure looks to be linked to test_zipimport problems. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: r85659 + r85662 + r85663 fixed test_httpservers. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Victor, can you paste or attach the error for email? My MSDN subscription has expired so I can't set up to test it myself (I've submitted the renewal, but who knows how long it will take to process :) -- nosy: +r.david.murray

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, can you paste or attach the error for email? It doesn't look to be related to the path name (same failure with py3ké or py3k directory name), so I opened #10134. -- ___ Python

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Status of this issue, 5 months later: most tests pass except test_gc test_gdb test_runpy test_sys test_wsgiref test_zipimport. Said differently, 95% of the task (or more?) is done. It's possible to run Python installed in a

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-12 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-10-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Deferring once again. -- priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-09-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #9713 (Py_CompileString fails on non decode-able paths) and #9738 (Document the encoding of functions bytes arguments of the C API). -- ___ Python tracker rep...@bugs.python.org

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-09-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-09-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The Unicode import system won't be put in place before 3.2a2, deferring. -- priority: release blocker - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-07-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This will have to wait until after alpha1, as well. -- dependencies: +Rewrite import machinery to work with unicode paths nosy: +georg.brandl priority: release blocker - deferred blocker ___ Python

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-07-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I posted a patch to fix this issue: see #9425. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #3080. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-06-28 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-06-24 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I think that #8988 is a duplicate of this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-25 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: asvetlov I'm skeptical about surrogates particularly for that asvetlov problem. From my perspective the solution is only to use asvetlov native unicode support for windows file operation functions. It's not exclusive. We can use

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-23 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: I'm skeptical about surrogates particularly for that problem. From my perspective the solution is only to use native unicode support for windows file operation functions. Conversions utf-8 - mbcs - utf8 will loose encoding information

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-20 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: After looking in #4352 deep I figured out what true separation of filesystem default encoding and utf8 python namespace is really too complicated. For example import call stack chain converts module name from utf-8 to filesystem in

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As I wrote, I have an huge patch somewhere in my harddrive fixing this issue. But I don't want to publish it because it's really huge. I prefer to fix the problem step by step. I fixed most related issues: see the dependency list

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #4352. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: If I understood correctly, this issue is a regression introduced by r67055 (to fix #4213). Read: http://bugs.python.org/issue4213#msg75387 See also r67057 (issue #3723). -- ___ Python

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file17251/pyunicode_encodefsdefault.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I opened a separated issue for the new function PyUnicode_EncodeFSDefault(): #8715. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Let's try with something: pyunicode_asencodefsdefault.patch adds PyUnicode_EncodeFSDefault() function to uniformize how a unicode is converted to bytes. Fallback to UTF-8 if Py_FileSystemEncoding is not set (I should be ASCII, not

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: We could have a separate list storing the original bytes form of sys.path; this list would be used by find_module() as long as Py_FileSystemDefaultEncoding isn't initialized. -- nosy: +pitrou ___

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Or find_module() could use wcstombs() as long as Py_FileSystemDefaultEncoding is NULL. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I have a patch implementation most of the point described in my first message. I have to rework on it before submit it. The patch depends on other issues, and I prefer to first fix all related issues. --

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___