mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Extract the unchanged Reader::open decode body into a private owned-buffer parse helper and add native representation tests for varints, stack depth, RLE count bounds, and repeated empty records. Preserve all existing tests. This adds coverage, not a new production decoder fix. Test code passes cargo check --tests and strict Clippy --tests, but has not been executed. OpenAI Codex assisted extraction, review, and compile-only validation. Assisted-by: OpenAI Codex:model version unavailable Co-authored-by: Codex <codex@openai.com>