RustPython
RustPython copied to clipboard
A Python Interpreter written in Rust
before: ``` 0 SetupLoop (13) >> 1 LoadFast (0, a) 2 JumpIfFalse (12) 3 LoadFast (0, a) 4 SetupWith (9) 5 Pop 6 Continue (1) 7 PopBlock 8 EnterFinally >>...
warning: unused imports: `PyStrRef`, `PyTupleRef`, `TryFromObject`, `function::Either`, `suppress_iph` --> vm\src\stdlib\nt.rs:14:20 | 14 | builtins::{PyStrRef, PyTupleRef}, | ^^^^^^^^ ^^^^^^^^^^ 15 | common::{crt_fd::Fd, os::errno, suppress_iph}, | ^^^^^^^^^^^^ 16 | convert::ToPyException, 17 |...
allow `--no-default-features` run, which makes debugging compiler bug easier
## Feature ```python >>> def f(): pass ... >>> f.__code__.replace() ``` expected: silent actual: AttributeError ## Python Documentation