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.factorial(1.5)
"""
TRACEBACK:
Traceback (most recent call last):
  File "math__factorial_float_error.py", line 3, in <module>
    math.factorial(1.5)
    ~~~~~~~~~~~~~~~~~~~
TypeError: 'float' object cannot be interpreted as an integer
"""