You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The string representation of the asyncio object results in 'panicked'. #4859
The following code defines an asynchronous function goo that takes two arguments a and b. The asyncio.create_task() function is then used inside the main function to create a task object that represents the execution of the goo coroutine with arguments 1 and b=1. Finally, the repr() function obtains a string representation of the task object. The asyncio.run() function runs the main coroutine and execute the task. The code essentially creates and runs an empty task while RustPython gets crashing.
thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 18446744073709551615', vm/src/frame.rs:169:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Activity
Add regression tests for six silently-fixed issues
Add regression tests for six silently-fixed issues
youknowone commentedon Apr 20, 2026
reported as fixed by @changjoon-park
Add regression tests for six silently-fixed issues