limitations/sys.md
sys moduleMinimal. The module exposes only the attributes listed below; every other
sys.* access raises AttributeError.
sys.version — the string "3.14.0 (Monty)".sys.version_info — named tuple (major=3, minor=14, micro=0, releaselevel='final', serial=0).sys.platform — the string "monty" (not "linux" / "darwin" /
"win32"). Code that branches on the host OS will not work; the
sandbox deliberately hides it.sys.stdout / sys.stderr — opaque marker objects with no methods.
They cannot be written to via .write(); printing always goes through
the host print callback regardless.argv, path, modules, prefix, executable, byteorder,
maxsize, maxunicode, flags, float_info, int_info, hash_info,
exit, exc_info, getrecursionlimit, setrecursionlimit,
getsizeof, getrefcount, intern, displayhook, excepthook,
settrace, setprofile, stdin, __stdout__, _getframe, audit.
The recursion limit is hardcoded; see resource_limits.md.