You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
REPL: Generator was advanced before hitting ENTER #61390
What is the expected behavior? Why is that the expected behavior?
When executing inf.next().value, REPL should return 1, 2, 3, 4...
When calling the reset function, the iteration should reset to 1, 2, 3, 4...
What do you see instead?
Iteration did not start from 1. The next number was incremented by 3 instead of 1.
Additional information
(AI said the REPL is advancing the generator to get the preview value, of which) When I press the UP button to get the last executed command and then DOWN and then UP once more, the generator was advanced further than just incremental of 3
Activity
Renegade334 commentedon Jan 15, 2026
This sounds like the issue referenced in #59774. A fix has not yet been backported to v22.x.
repl: use inspector over vm