[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 85ab974f78c0ebcfa611639864640d0273eb5466 by Victor Stinner in branch '3.7': bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) (GH-10761) https://github.com/python/cpython/commit/85ab974f78c0ebcfa611639864640d0273eb5466 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10009 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset bde9d6bbb46ca59bcee5d5060adaa33c3ffee3a6 by Victor Stinner in branch 'master': bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) https://github.com/python/cpython/commit/bde9d6bbb46ca59bcee5d5060adaa33c3ffee3a6 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10006 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f6e323ce322cf54b1a9e9252b13f93ebc28b5c24 by Victor Stinner in branch '3.7': bpo-34523: Fix C locale coercion on FreeBSD CURRENT (GH-10672) (GH-10673) https://github.com/python/cpython/commit/f6e323ce322cf54b1a9e9252b13f93ebc28b5c24 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9928 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 353933e712b6c7f7ba9a9a50bd5bd472db7c35d0 by Victor Stinner in branch 'master': bpo-34523: Fix C locale coercion on FreeBSD CURRENT (GH-10672) https://github.com/python/cpython/commit/353933e712b6c7f7ba9a9a50bd5bd472db7c35d0 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-11-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9926 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-10-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 905f1ace5f7424e314ca7bed997868a2a3044839 by Victor Stinner in branch 'master': bpo-34523: Fix config_init_fs_encoding() for ASCII (GH-10232) https://github.com/python/cpython/commit/905f1ace5f7424e314ca7bed997868a2a3044839 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-10-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9544 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: It was much more complicated than expected to implement this idea, but it seems like it's now working! I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset fbca90856d96273fd87c0b126f6e7966af7fbf7b by Victor Stinner in branch 'master': bpo-34523: Use _PyCoreConfig instead of globals (GH-9005) https://github.com/python/cpython/commit/fbca90856d96273fd87c0b126f6e7966af7fbf7b --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8476 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset de427556746aa41a8b5198924ce423021bc0c718 by Victor Stinner in branch 'master': bpo-34523: Py_FileSystemDefaultEncoding NULL by default (GH-9003) https://github.com/python/cpython/commit/de427556746aa41a8b5198924ce423021bc0c718 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8474 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3d4226a832cabc630402589cc671cc4035d504e5 by Victor Stinner in branch 'master': bpo-34523: Support surrogatepass in locale codecs (GH-8995) https://github.com/python/cpython/commit/3d4226a832cabc630402589cc671cc4035d504e5 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2 by Victor Stinner in branch 'master': bpo-34523: Py_DecodeLocale() use UTF-8 on Windows (GH-8998) https://github.com/python/cpython/commit/c5989cd87659acbfd4d19dc00dbe99c3a0fc9bd2 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8469 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8466 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 70fead25e503a742ad4c919b151b9b2b5facee36 by Victor Stinner in branch 'master': bpo-34523: Fix config_init_fs_encoding() (GH-8991) https://github.com/python/cpython/commit/70fead25e503a742ad4c919b151b9b2b5facee36 --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8464 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset b2457efc78b74a1d6d1b77d11a939e886b8a4e2c by Victor Stinner in branch 'master': bpo-34523: Add _PyCoreConfig.filesystem_encoding (GH-8963) https://github.com/python/cpython/commit/b2457efc78b74a1d6d1b77d11a939e886b8a4e2c --

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-28 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-34485 which allows to select (using _PyCoreConfig) the encoding and error handlers of standard streams like sys.stdout. -- ___ Python tracker

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-28 Thread STINNER Victor
STINNER Victor added the comment: > The compilation failed on my PR when running > PCbuild\amd64\_freeze_importlib.exe: (...) This issue should now be fixed. -- ___ Python tracker

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-28 Thread STINNER Victor
STINNER Victor added the comment: The compilation failed on my PR when running PCbuild\amd64\_freeze_importlib.exe: ValueError: only 'strict' and 'surrogateescape' error handlers are supported, not 'surrogatepass' The error comes from locale_error_handler(). Before my change,

[issue34523] Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding)

2018-08-27 Thread STINNER Victor
Change by STINNER Victor : -- title: Choose the filesystem encoding earlier in Python initialization (add _PyCoreConfig.filesystem_encoding) -> Choose the filesystem encoding before Python initialization (add _PyCoreConfig.filesystem_encoding) ___