This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Rework filesystem codec implementation
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords: patch

Created on 2019-05-02 14:51 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13056 merged vstinner, 2019-05-02 15:10
PR 13057 merged vstinner, 2019-05-02 15:31
PR 13062 merged vstinner, 2019-05-02 17:18
Messages (4)
msg341267 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-02 14:51
I would like to add callbacks in PyInterpreterState for the filesystem encoding to avoid parsing the encoding name at each encode/decode call (PyUnicode_EncodeFSDefault, PyUnicode_DecodeFSDefault).
msg341277 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-02 15:29
New changeset e251095a3f4778102f554cecffcfd837f4d1db6c by Victor Stinner in branch 'master':
bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro (GH-13056)
https://github.com/python/cpython/commit/e251095a3f4778102f554cecffcfd837f4d1db6c
msg341280 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-02 15:54
New changeset 43fc3bb7cf0278735eb0010d7b3043775a120cb5 by Victor Stinner in branch 'master':
bpo-36775: Add _PyUnicode_InitEncodings() (GH-13057)
https://github.com/python/cpython/commit/43fc3bb7cf0278735eb0010d7b3043775a120cb5
msg341302 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-05-02 18:56
New changeset 709d23dee69e700b87d5a4cb59e149d0e1af7993 by Victor Stinner in branch 'master':
bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)
https://github.com/python/cpython/commit/709d23dee69e700b87d5a4cb59e149d0e1af7993
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80956
2019-05-02 20:00:16vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-02 18:56:33vstinnersetmessages: + msg341302
2019-05-02 17:18:12vstinnersetpull_requests: + pull_request12979
2019-05-02 15:54:25vstinnersetmessages: + msg341280
2019-05-02 15:31:22vstinnersetpull_requests: + pull_request12974
2019-05-02 15:29:00vstinnersetmessages: + msg341277
2019-05-02 15:10:14vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request12973
2019-05-02 14:51:44vstinnercreate