monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
x = 5
x.foo = 1
"""
TRACEBACK:
Traceback (most recent call last):
  File "attr__set_int_error.py", line 2, in <module>
    x.foo = 1
    ~~~~~
AttributeError: 'int' object has no attribute 'foo' and no __dict__ for setting new attributes
"""