monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Foo:
    def __init__(self):
        return 42


Foo()
"""
TRACEBACK:
Traceback (most recent call last):
  File "class__init_return.py", line 6, in <module>
    Foo()
    ~~~~~
TypeError: __init__() should return None, not 'int'
"""