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

Statically allocate and initialize the empty tuple. #90909

Closed
ericsnowcurrently opened this issue Feb 14, 2022 · 3 comments
Closed

Statically allocate and initialize the empty tuple. #90909

ericsnowcurrently opened this issue Feb 14, 2022 · 3 comments
Assignees
Labels
3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@ericsnowcurrently
Copy link
Member

BPO 46753
Nosy @ericsnowcurrently
PRs
  • bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. #31345
  • 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 = 'https://github.com/ericsnowcurrently'
    closed_at = <Date 2022-02-28.23:44:58.892>
    created_at = <Date 2022-02-14.22:40:07.763>
    labels = ['interpreter-core', '3.11']
    title = 'Statically allocate and initialize the empty tuple.'
    updated_at = <Date 2022-02-28.23:44:58.892>
    user = 'https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity = <Date 2022-02-28.23:44:58.892>
    actor = 'eric.snow'
    assignee = 'eric.snow'
    closed = True
    closed_date = <Date 2022-02-28.23:44:58.892>
    closer = 'eric.snow'
    components = ['Interpreter Core']
    creation = <Date 2022-02-14.22:40:07.763>
    creator = 'eric.snow'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46753
    keywords = ['patch']
    message_count = 3.0
    messages = ['413268', '413269', '414222']
    nosy_count = 1.0
    nosy_names = ['eric.snow']
    pr_nums = ['31345']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46753'
    versions = ['Python 3.11']

    @ericsnowcurrently
    Copy link
    Member Author

    Currently it is created dynamically from the tuple freelist.

    @ericsnowcurrently ericsnowcurrently added the 3.11 only security fixes label Feb 14, 2022
    @ericsnowcurrently ericsnowcurrently self-assigned this Feb 14, 2022
    @ericsnowcurrently ericsnowcurrently added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.11 only security fixes labels Feb 14, 2022
    @ericsnowcurrently ericsnowcurrently self-assigned this Feb 14, 2022
    @ericsnowcurrently ericsnowcurrently added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Feb 14, 2022
    @ericsnowcurrently
    Copy link
    Member Author

    Also see bpo-45953.

    @ericsnowcurrently
    Copy link
    Member Author

    New changeset 08deed1 by Eric Snow in branch 'main':
    bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345)
    08deed1

    @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.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant