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.cos(math.inf)
"""
TRACEBACK:
Traceback (most recent call last):
  File "math__cos_inf_error.py", line 3, in <module>
    math.cos(math.inf)
    ~~~~~~~~~~~~~~~~~~
ValueError: expected a finite input, got inf
"""