monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
# Test: same argument passed both positionally and by keyword
def f(a, b, c):
    return a + b + c


f(1, 2, b=3)
# Raise=TypeError("f() got multiple values for argument 'b'")