monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
s = {1, 2}
for x in s:
    s.add(3)
"""
TRACEBACK:
Traceback (most recent call last):
  File "traceback__set_mutation.py", line 2, in <module>
    for x in s:
             ~
RuntimeError: Set changed size during iteration
"""