◐ Shell
clean mode source ↗

Update test_sys from v3.14.3 and impl more sys module by youknowone · Pull Request #7075 · RustPython/RustPython

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

CPython Developers and others added 3 commits

February 21, 2026 14:12
- Add sys.call_tracing as func(*args) dispatch
- Add sys._current_exceptions with per-thread exception tracking
  via thread_exceptions registry synced on push/pop/set_exception
- Fix f_back to use previous_frame pointer and cross-thread lookup
- Add module="sys" to float_info struct sequence
- Fix sys.exit to unpack tuple args
- Set default stdio_errors to surrogateescape
- Remove noisy __del__ warning in object core
slot_repr now checks the __module__ attribute set by #[pymodule]
at runtime, so explicit module = "..." in #[pystruct_sequence] is
no longer needed for types defined inside a #[pymodule].

This was referenced

Feb 22, 2026

This was referenced

Mar 2, 2026

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

Mar 22, 2026
Update test_sys from v3.14.3 and impl more sys module