Skip to content

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

Merged
markshannon merged 7 commits into
python:mainfrom
brijkapadia:delete-global
Jun 30, 2026
Merged

gh-145857: Replace DELETE_GLOBAL with PUSH_NULL; STORE_GLOBAL#146314
markshannon merged 7 commits into
python:mainfrom
brijkapadia:delete-global

Conversation

@brijkapadia

@brijkapadia brijkapadia commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

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
@read-the-docs-community

read-the-docs-community Bot commented Jun 26, 2026

Copy link
Copy Markdown

@hugovk hugovk removed their request for review June 27, 2026 11:15
@markshannon

Copy link
Copy Markdown
Member

Looks good.
Sorry for taking so long to get back to this. Can you resolve the merge conflict?

@markshannon markshannon merged commit a3dc784 into python:main Jun 30, 2026
122 of 124 checks passed
@brijkapadia brijkapadia deleted the delete-global branch June 30, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants