◐ Shell
clean mode source ↗

Update doctest,test_generators from v3.14.2 and fix generator bugs by youknowone · Pull Request #7067 · RustPython/RustPython

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

- Add interactive REPL mode: auto-print expression results in single mode
- Implement Destructor for PyGenerator and PyCoroutine
- Add locals_dirty tracking and locals_to_fast() for frame sync
- Add per-line tracing with prev_line tracking in execution loop
- Fix gen_throw to close sub-iterator on GeneratorExit (gen_close_iter)
- Pass callable object as arg in c_call/c_return/c_exception trace events
- Distinguish [Errno] vs [WinError] for CRT vs Win32 API errors
- Fix tee thread safety with AtomicBool running flag
- Fix division error messages to match expected format

coderabbitai[bot]

@youknowone youknowone changed the title Doctest Update doctest,test_generators from v3.14.2 and fix generator bugs

Feb 11, 2026

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
Update doctest,test_generators from v3.14.2 and fix generator bugs