System module.
Functions
_get_recursion_depth()
Examine the maximum recursion depth of the current thread.
_getsizeof(value)
Calculate the approximate size of an object in bytes.
- Parameters
-
value Value to examine.
_importmodule(module)
Import a module by string name
Imports the dot-separated module module
as if it were imported by the import
statement and returns the resulting module object.
- Parameters
-
module A string with a dot-separated package or module name
_inspect_value()
Obtain the memory representation of a stack value.
_members()
Obtain a copy of a dict of the direct members of an object.
_modules()
Get the list of valid names from the module table
_set_clean_output(clean=True)
Disables terminal escapes in some output from the VM.
- Parameters
-
clean Whether to remove escapes.
_set_recursion_depth()
Change the maximum recursion depth of the current thread if possible.
_set_tracing(tracing=None,disassembly=None)
Toggle debugging modes.
Enables or disables tracing options for the current thread.
- Parameters
-
tracing Enables instruction tracing. disassembly Prints bytecode disassembly after compilation.
_unload()
Removes a module from the module table. It is not necessarily garbage collected if other references to it exist.