Skip to content

[subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER #83646

Description

@ncoghlan
BPO 39465
Nosy @ncoghlan, @vstinner, @encukou, @ericsnowcurrently, @shihai1991
PRs
  • bpo-39465: Don't access directly _Py_Identifier members #20043
  • [WIP] bpo-39465: _PyUnicode_FromId() now uses an hash table #20048
  • bpo-39465: Fix _PyUnicode_FromId() for subinterpreters #20058
  • bpo-39465: Remove _PyUnicode_ClearStaticStrings() from C API #20078
  • [WIP] bpo-39465: Mark _Py_Identifier.object as atomic #20390
  • bpo-39465: Cleanup _PyUnicode_FromId() code #20595
  • bpo-39465: Add pycore_atomic_funcs.h internal header #20766
  • [WIP] bpo-39465: Optimize _PyInterpreterState_GET() #20767
  • bpo-39465: Use _PyInterpreterState_GET() #20788
  • Files
  • bench.py
  • bench.patch
  • 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 2020-12-25.23:49:32.652>
    created_at = <Date 2020-01-27.14:28:30.691>
    labels = ['expert-subinterpreters', 'type-feature', '3.10']
    title = '[subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER'
    updated_at = <Date 2021-12-07.17:28:23.318>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2021-12-07.17:28:23.318>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-25.23:49:32.652>
    closer = 'vstinner'
    components = ['Subinterpreters']
    creation = <Date 2020-01-27.14:28:30.691>
    creator = 'ncoghlan'
    dependencies = []
    files = ['49147', '49148']
    hgrepos = []
    issue_num = 39465
    keywords = ['patch']
    message_count = 17.0
    messages = ['360766', '361041', '361042', '361044', '361045', '361533', '361627', '368682', '368688', '368691', '368805', '370607', '371229', '383629', '383781', '383783', '407954']
    nosy_count = 5.0
    nosy_names = ['ncoghlan', 'vstinner', 'petr.viktorin', 'eric.snow', 'shihai1991']
    pr_nums = ['20043', '20048', '20058', '20078', '20390', '20595', '20766', '20767', '20788']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39465'
    versions = ['Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions