mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix traceback (#6569)
* Fix traceback * Update traceback from CPython 3.13.11 * unmark test_traceback * fix code * fix debug range * fix tests
This commit is contained in:
1 parent
6bd1d90b6a
commit
e79a1a1a66
16 files changed
+1200
-305
No files matched your search
+4
-1
@@ -53,7 +53,10 @@ fn main() -> Result<(), lexopt::Error> {
|
||||
return Err("expected at least one argument".into());
|
||||
}
|
||||
|
||||
let opts = compiler::CompileOpts { optimize };
|
||||
let opts = compiler::CompileOpts {
|
||||
optimize,
|
||||
debug_ranges: true,
|
||||
};
|
||||
|
||||
for script in &scripts {
|
||||
if script.exists() && script.is_file() {
|
||||
|
||||
Reference in new issue
Block a user