Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3a6f48d
Add FOR_ITER specialization for virtual iterators. Specialize GET_ITER.
markshannon Mar 17, 2026
74b5289
Document new tp_iteritem function slot.
markshannon Apr 1, 2026
4dd6992
Simplify list_iteritem
markshannon Apr 1, 2026
4376246
Make it clearer to MSVC that variable doesn't escape
markshannon Apr 2, 2026
5a81e54
Return a small struct in tp_iteritem to support MSVC tailcalling
markshannon Apr 2, 2026
b927de4
Fix editing slip
markshannon Apr 2, 2026
044cce2
Put limited RESUME at start of genexpr for free-threading. Fix up exc…
markshannon Apr 7, 2026
4ba6ecd
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 7, 2026
b08dce2
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 8, 2026
830068c
Fix test_dis
markshannon Apr 8, 2026
931084a
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 9, 2026
87215d5
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 9, 2026
73b9b87
Fix magic number
markshannon Apr 9, 2026
fdef628
Address review comments
markshannon Apr 13, 2026
b8baca5
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 13, 2026
b3dc340
Make struct private
markshannon Apr 13, 2026
1c269b6
Try to keep sphinx happy
markshannon Apr 14, 2026
09ecaef
Declare tp_iteritem and iteritemfunc private by adding _ prefix to names
markshannon Apr 14, 2026
92a3a97
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 15, 2026
a55ac63
Address code review: Remove struct tag
markshannon Apr 15, 2026
6406871
Merge branch 'main' into specialize-iteration-with-jit
markshannon Apr 16, 2026
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 test_dis
  • Loading branch information
markshannon committed Apr 8, 2026
commit 830068cfc0715619604aafdf04e114b643828a9f
3 changes: 2 additions & 1 deletion Lib/test/test_dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ def foo(x):
dis_nested_2 = """%s
Disassembly of <code object <genexpr> at 0x..., file "%s", line %d>:
-- COPY_FREE_VARS 1
RESUME 4

%4d LOAD_FAST 0 (.0)
GET_ITER 0
Expand All @@ -889,7 +890,7 @@ def foo(x):
LOAD_FAST_BORROW 1 (z)
BINARY_OP 0 (+)
YIELD_VALUE 0
RESUME 5
RESUME 9
POP_TOP
JUMP_BACKWARD 17 (to L2)
L3: END_FOR
Expand Down
Loading