Your IP : 3.137.189.236
�
�Q�f� � �� � d dl Z d dlZddlmZmZ ej
s ed� �ddlmZ ddlm Z ddlm
Z
ddlmZ d gZ G d
� de
� Z G d� d e j � Zy)
� N� )� reduction�set_spawning_popenz,No support for sending fds between processes)�
forkserver)�
popen_fork)�spawn)�util�Popenc � � e Zd Zd� Zd� Zy)�_DupFdc � � || _ y �N)�ind)�selfr s �G/opt/alt/python312/lib64/python3.12/multiprocessing/popen_forkserver.py�__init__z_DupFd.__init__ s � ���� c �D � t j � | j S r )r �get_inherited_fdsr )r s r �detachz
_DupFd.detach s � ��+�+�-�d�h�h�7�7r N)�__name__�
__module__�__qualname__r r � r r r r s � ��8r r c �P � � e Zd ZdZeZ� fd�Zd� Zd� Ze j fd�Z� xZS )r
r c �2 �� g | _ t �| � |� y r )�_fds�superr )r �process_obj� __class__s �r r zPopen.__init__! s �� ��� �
����%r c �h � | j j |� t | j � dz
S )Nr )r �append�len)r �fds r �duplicate_for_childzPopen.duplicate_for_child% s'