monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
class Foo:
    def m(self):
        return 1


f = Foo()
g = Foo()
bm = f.m
# ref-counts={'Foo': 3, 'f': 2, 'g': 1, 'bm': 1}