Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CI: regenerate test_frozenmain.h, add removed HTML ID, add NEWS e…
…ntry
  • Loading branch information
aleksandr.tseluyko committed Apr 6, 2026
commit b67f553cc4ef2d0ea1dbdb05910d059793a06852
1 change: 1 addition & 0 deletions Doc/tools/removed-ids.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# HTML IDs excluded from the check-html-ids.py check.
library/dis.html: opcode-DELETE_DEREF
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest instead having a 'CPython bytecode changes' section in the what's new, like we had for 3.14, and redirecting to there, but this isn't my area so I'll leave it to the experts.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, thanks! Added a "CPython bytecode changes" section to Doc/whatsnew/3.15.rst following the 3.14 pattern. Kept removed-ids.txt as well since it's needed for the CI HTML ID check independently.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove the ``DELETE_DEREF`` bytecode instruction. Deletion of closure
variables is now implemented using ``LOAD_DEREF`` + ``POP_TOP`` +
``PUSH_NULL`` + ``STORE_DEREF``.
30 changes: 15 additions & 15 deletions Programs/test_frozenmain.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading