Skip to content

gh-145857: Replace DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL#146314

Open
brijkapadia wants to merge 2 commits intopython:mainfrom
brijkapadia:delete-global
Open

gh-145857: Replace DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL#146314
brijkapadia wants to merge 2 commits intopython:mainfrom
brijkapadia:delete-global

Conversation

@brijkapadia
Copy link
Copy Markdown
Contributor

@brijkapadia brijkapadia commented Mar 23, 2026

Changes:

  • Removed DELETE_GLOBAL opcode
  • Allowed STORE_GLOBAL to take a NULL value corresponding to deletion
  • Added test to test_compiler_codegen.py

📚 Documentation preview 📚: https://cpython-previews--146314.org.readthedocs.build/

Changes:
- Removed `DELETE_GLOBAL` opcode
- Allowed `STORE_GLOBAL` to take a `NULL` value corresponding to
  deletion
- Added test to `test_compiler_codegen.py`
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant