SIGN IN SIGN UP

GH-145668: Add FOR_ITER specialization for virtual iterators. Specialize GET_ITER. (GH-147967)

* Add FOR_ITER_VIRTUAL to specialize FOR_ITER for virtual iterators
* Add GET_ITER_SELF to specialize GET_ITER for iterators (including generators)
* Add GET_ITER_VIRTUAL to specialize GET_ITER for iterables as virtual iterators
* Add new (internal) _tp_iteritem function slot to PyTypeObject
* Put limited RESUME at start of genexpr for free-threading. Fix up exception handling in genexpr
M
Mark Shannon committed
600f4dbd54bb35f56ecf1430134d2072b0520aa3
Parent: 0fcf2b7
Committed by GitHub <noreply@github.com> on 4/16/2026, 2:22:22 PM