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

Specialize STORE_ATTR using PEP 659 machinery. #88989

Closed
markshannon opened this issue Aug 4, 2021 · 3 comments
Closed

Specialize STORE_ATTR using PEP 659 machinery. #88989

markshannon opened this issue Aug 4, 2021 · 3 comments

Comments

@markshannon
Copy link
Member

BPO 44826
Nosy @terryjreedy, @markshannon
PRs
  • bpo-44826: Specialize STORE_ATTR #27590
  • bpo-44826: Fix stats for STORE_ATTR specialization. #27708
  • 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 2021-08-27.10:03:25.084>
    created_at = <Date 2021-08-04.10:34:42.395>
    labels = []
    title = 'Specialize STORE_ATTR using PEP 659 machinery.'
    updated_at = <Date 2021-08-27.10:03:25.084>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-08-27.10:03:25.084>
    actor = 'Mark.Shannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-27.10:03:25.084>
    closer = 'Mark.Shannon'
    components = []
    creation = <Date 2021-08-04.10:34:42.395>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44826
    keywords = ['patch']
    message_count = 3.0
    messages = ['398887', '399147', '399252']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'Mark.Shannon']
    pr_nums = ['27590', '27708']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue44826'
    versions = []

    @markshannon
    Copy link
    Member Author

    Add specializations of STORE_ATTR following the pattern of LOAD_ATTR and LOAD_GLOBAL.

    For this to work well we need https://bugs.python.org/issue44821, otherwise the first assigned to an attribute of any object cannot be specialized.

    @terryjreedy
    Copy link
    Member

    bpo-44821 is fixed

    @markshannon
    Copy link
    Member Author

    New changeset ac75f6b by Mark Shannon in branch 'main':
    bpo-44826: Specialize STORE_ATTR (GH-27590)
    ac75f6b

    @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
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants