FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove `DELETE_ATTR` bytecode instruction · Issue #145855 · python/cpython · GitHub

/ cpython Public

Remove DELETE_ATTR bytecode instruction #145855

Description

Proposal:

DELETE_ATTR can be replaced with PUSH_NULL; STORE_ATTR

Since DELETE_ATTR just calls PyObject_DelAttr(v, name) which calls PyObject_SetAttr(v, name, NULL), no other changes are needed to do this.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15pre-release feature fixes, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL