Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit890b936

Browse files
gh-125038: CHECK_ITER instruction removed, use GET_ITER instead
1 parent7aa00b4 commit890b936

16 files changed

+414
-486
lines changed

‎Doc/library/dis.rst‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,10 +1370,6 @@ iterations of the loop.
13701370
..versionchanged::3.12
13711371
Up until 3.11 the iterator was popped when it was exhausted.
13721372

1373-
..opcode::CHECK_ITER
1374-
1375-
Check that ``STACK[-1]`` is an:term:`iterator`.
1376-
13771373
..opcode::LOAD_GLOBAL (namei)
13781374

13791375
Loads the global named ``co_names[namei>>1]`` onto the stack.

‎Include/internal/pycore_magic_number.h‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ Known values:
260260
Python 3.14a1 3606 (Specialize CALL_KW)
261261
Python 3.14a1 3607 (Add pseudo instructions JUMP_IF_TRUE/FALSE)
262262
Python 3.14a1 3608 (Add support for slices)
263-
Python 3.14a1 3609 (Add CHECK_ITER instruction)
264263
265264
Python 3.15 will start with 3650
266265
@@ -273,7 +272,7 @@ PC/launcher.c must also be updated.
273272
274273
*/
275274

276-
#definePYC_MAGIC_NUMBER3609
275+
#definePYC_MAGIC_NUMBER3608
277276
/* This is equivalent to converting PYC_MAGIC_NUMBER to 2 bytes
278277
(little-endian) and then appending b'\r\n'. */
279278
#definePYC_MAGIC_NUMBER_TOKEN \

‎Include/internal/pycore_opcode_metadata.h‎

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Include/internal/pycore_uop_ids.h‎

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Include/internal/pycore_uop_metadata.h‎

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Include/opcode_ids.h‎

Lines changed: 110 additions & 111 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp