monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
import math

math.sqrt(-1)
"""
TRACEBACK:
Traceback (most recent call last):
  File "math__sqrt_negative_error.py", line 3, in <module>
    math.sqrt(-1)
    ~~~~~~~~~~~~~
ValueError: expected a nonnegative input, got -1.0
"""