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.isqrt(-1)
"""
TRACEBACK:
Traceback (most recent call last):
  File "math__isqrt_negative_error.py", line 3, in <module>
    math.isqrt(-1)
    ~~~~~~~~~~~~~~
ValueError: isqrt() argument must be nonnegative
"""