8000 gh-132532: Add `CHECK_PERIODIC` instruction and use it for CALLs instead of the uop version. by iritkatriel · Pull Request #132533 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-132532: Add CHECK_PERIODIC instruction and use it for CALLs instead of the uop version. #132533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
update doctest
  • Loading branch information
iritkatriel committed Apr 15, 2025
commit c867ce307fc3c7236971db1529d5c8a70b2b8947
2 changes: 2 additions & 0 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ the following command can be used to display the disassembly of
3 LOAD_GLOBAL 1 (len + NULL)
LOAD_FAST_BORROW 0 (alist)
CALL 1
CHECK_PERIODIC
RETURN_VALUE

(The "2" is a line number).
Expand Down Expand Up @@ -217,6 +218,7 @@ Example:
LOAD_GLOBAL
LOAD_FAST_BORROW
CALL
CHECK_PERIODIC
RETURN_VALUE


Expand Down
Loading
0