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
csv: csv.reader does not detect re-entrant iterator advancement #8323
When a csv.reader input iterator calls next() on the same reader from its
own __next__() method, the inner call advances the reader. RustPython then
allows the outer call to continue parsing with stale reader state instead of
raising csv.Error like CPython.
CPython rejects the outer call once it detects that the re-entrant inner call
has already advanced the reader. This prevents the outer call from continuing
with parser state that no longer belongs to it.
Python Documentation or reference to CPython source code
Activity
widehyo1 commentedon Jul 19, 2026
take