| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/2955/usr/lib/python3.10/test/support/__pycache__/ |
Upload File : |
o
�9j� � @ s� d Z ddlZddlZddlmZmZmZmZ g d�Zdd�dd�Z d d
� Z
dd� Zd
d� ZG dd� d�Z
dd� Zdd� ZG dd� d�Ze� ZG dd� de�ZG dd� de�ZdS )z"Subinterpreters High Level Module.� N)�ChannelError�ChannelNotFoundError�ChannelEmptyError�is_shareable)
�Interpreter�get_current�get_main�create�list_all�SendChannel�RecvChannel�create_channel�list_all_channelsr r r r T��isolatedc C s t j| d�}t|| d�S )z'Return a new (idle) Python interpreter.r )�
_interpretersr r )r �id� r �0/usr/lib/python3.10/test/support/interpreters.pyr s r c C � dd� t �� D �S )z!Return all existing interpreters.c S s g | ]}t |��qS r )r )�.0r r r r �
<listcomp> s zlist_all.<locals>.<listcomp>)r r
r r r r r
s r
c C � t �� } t| �S )z)Return the currently running interpreter.)r r r �r r r r r ! � r c C r )zReturn the main interpreter.)r r r r r r r r '