Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework filesystem codec implementation #80956

Closed
vstinner opened this issue May 2, 2019 · 4 comments
Closed

Rework filesystem codec implementation #80956

vstinner opened this issue May 2, 2019 · 4 comments
Labels
3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@vstinner
Copy link
Member

vstinner commented May 2, 2019

BPO 36775
Nosy @vstinner
PRs
  • bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro #13056
  • bpo-36775: Add _PyUnicode_InitEncodings() #13057
  • bpo-36775: _PyCoreConfig only uses wchar_t* #13062
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-05-02.20:00:16.340>
    created_at = <Date 2019-05-02.14:51:44.669>
    labels = ['interpreter-core', '3.8']
    title = 'Rework filesystem codec implementation'
    updated_at = <Date 2019-05-02.20:00:16.340>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-05-02.20:00:16.340>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-02.20:00:16.340>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-05-02.14:51:44.669>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36775
    keywords = ['patch']
    message_count = 4.0
    messages = ['341267', '341277', '341280', '341302']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['13056', '13057', '13062']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36775'
    versions = ['Python 3.8']

    @vstinner
    Copy link
    Member Author

    vstinner commented May 2, 2019

    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).

    @vstinner vstinner added 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) labels May 2, 2019
    @vstinner
    Copy link
    Member Author

    vstinner commented May 2, 2019

    New changeset e251095 by Victor Stinner in branch 'master':
    bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro (GH-13056)
    e251095

    @vstinner
    Copy link
    Member Author

    vstinner commented May 2, 2019

    New changeset 43fc3bb by Victor Stinner in branch 'master':
    bpo-36775: Add _PyUnicode_InitEncodings() (GH-13057)
    43fc3bb

    @vstinner
    Copy link
    Member Author

    vstinner commented May 2, 2019

    New changeset 709d23d by Victor Stinner in branch 'master':
    bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)
    709d23d

    @vstinner vstinner closed this as completed May 2, 2019
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant