monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Test AttributeError message for missing attribute on named tuple
import sys

sys.version_info.foobar
"""
TRACEBACK:
Traceback (most recent call last):
  File "namedtuple__missing_attr.py", line 4, in <module>
    sys.version_info.foobar
AttributeError: 'sys.version_info' object has no attribute 'foobar'
"""