monty 0.0.20

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# `from __future__ import ...` is a compiler directive Monty accepts as a no-op,
# but only in its absolute form: a relative import of a module that happens to
# share the name is an ordinary import, and there is no package system.
from .__future__ import annotations

"""
TRACEBACK:
Traceback (most recent call last):
  File "import__relative_future_error.py", line 4, in <module>
    from .__future__ import annotations
ImportError: attempted relative import with no known parent package
"""