GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove `DELETE_ATTR` bytecode instruction · Issue #145855 · python/cpython

Remove DELETE_ATTR bytecode instruction #145855

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove DELETE_ATTR bytecode instruction#145855
Copy link
Labels
3.15bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement

Description

@markshannon
markshannon
opened on Mar 12, 2026
Issue body actions

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

  • gh-145855: Remove the DELETE_ATTR bytecode #146216
Reacted by Jonathan Dung

Activity

  1. markshannon
    added
    type-featureA feature request or enhancementA feature request or enhancement
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    3.15bugs and security fixesbugs and security fixes
    on Mar 12, 2026
  2. markshannon
    added a commit that references this issue on Jul 6, 2026

    gh-145855: Remove the DELETE_ATTR bytecode (GH-146216)

    8bee2a3
  3. markshannon
    closed this as completedon Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.