monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# run-async
# Nested async function calls


async def inner():
    return 42


async def outer():
    value = await inner()
    return value + 8


result = await outer()  # pyright: ignore
assert result == 50