:orphan:
.. _s_11PytoRuntime11InterpreterC:
``Interpreter``
===============
Holds configurations, context and debugging tools for scripts execution.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
.. rubric:: Discussion
This is not the same as a Python subinterpreter because this would break compatibility with a lot of native extensions. Instead, ``PytoRuntime`` groups threads by interpreter to isolate modules in a single process environment. Standard library modules except ``sys`` and a few other ones are still shared.
.. rubric:: Members
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime11InterpreterC14defaultVersionAA0E0VSgvpZ
.. raw:: html
Default version for command line usage.
.. rubric:: Interopability
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime11InterpreterC7currentACvpZ
.. raw:: html
Returns the current interpreter.
.. rubric:: Conforms to
- ``Identifiable``
- ``@unchecked Sendable``