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

Improve LOAD_METHOD specialization #89270

Closed
Fidget-Spinner opened this issue Sep 5, 2021 · 4 comments
Closed

Improve LOAD_METHOD specialization #89270

Fidget-Spinner opened this issue Sep 5, 2021 · 4 comments
Labels
3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@Fidget-Spinner
Copy link
Member

BPO 45107
Nosy @markshannon, @brandtbucher, @Fidget-Spinner
PRs
  • bpo-45107: Make LOAD_METHOD_CLASS safer and faster, clean up comments #28177
  • bpo-45107: Specialize LOAD_METHOD for instances with dict. #31531
  • 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 = None
    created_at = <Date 2021-09-05.16:39:16.732>
    labels = ['interpreter-core', '3.11']
    title = 'Improve LOAD_METHOD specialization'
    updated_at = <Date 2022-02-24.19:35:01.870>
    user = 'https://github.com/Fidget-Spinner'

    bugs.python.org fields:

    activity = <Date 2022-02-24.19:35:01.870>
    actor = 'Mark.Shannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-09-05.16:39:16.732>
    creator = 'kj'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45107
    keywords = ['patch']
    message_count = 3.0
    messages = ['401096', '402035', '413935']
    nosy_count = 3.0
    nosy_names = ['Mark.Shannon', 'brandtbucher', 'kj']
    pr_nums = ['28177', '31531']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45107'
    versions = ['Python 3.11']

    @Fidget-Spinner
    Copy link
    Member Author

    I plan to do two improvements over the initial implementation:

    1. General comments cleanup and optimize LOAD_METHOD_CLASS.

    2. Implement LOAD_METHOD_SUPER, for super().meth() calls.

    See bpo-44889 for the precursor.

    @Fidget-Spinner Fidget-Spinner added 3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Sep 5, 2021
    @Fidget-Spinner
    Copy link
    Member Author

    New changeset 70bed6f by Ken Jin in branch 'main':
    bpo-45107: Make LOAD_METHOD_CLASS safer and faster, clean up comments (GH-28177)
    70bed6f

    @markshannon
    Copy link
    Member

    New changeset 2a6ece5 by Mark Shannon in branch 'main':
    bpo-45107: Specialize LOAD_METHOD for instances with dict. (GH-31531)
    2a6ece5

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @kumaraditya303
    Copy link
    Contributor

    Superseded by #92777

    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

    3 participants