Skip to content

Rework filesystem codec implementation #80956

Closed

Description

@vstinner
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']

    Activity

    1. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

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

    2. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

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

    3. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

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

    4. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

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

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions