mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
GH-132554: "Virtual" iterators (GH-132555)
* FOR_ITER now pushes either the iterator and NULL or leaves the iterable and pushes tagged zero * NEXT_ITER uses the tagged int as the index into the sequence or, if TOS is NULL, iterates as before.
This commit is contained in:
parent
9300a596d3
commit
f6f4e8a662
25 changed files with 713 additions and 618 deletions
2
Programs/test_frozenmain.h
generated
2
Programs/test_frozenmain.h
generated
|
@ -1,6 +1,6 @@
|
|||
// Auto-generated by Programs/freeze_test_frozenmain.py
|
||||
unsigned char M_test_frozenmain[] = {
|
||||
227,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,
|
||||
227,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,
|
||||
0,0,0,0,0,243,184,0,0,0,128,0,94,0,82,1,
|
||||
73,0,116,0,94,0,82,1,73,1,116,1,93,2,33,0,
|
||||
82,2,52,1,0,0,0,0,0,0,31,0,93,2,33,0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue