python (3.12.0)
̑e 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 ) reductionset_spawning_popenz,No support for sending fds between processes)
forkserver)
popen_fork)spawn)utilPopenc e Zd Zd Zd Zy)_DupFdc || _ y N)ind)selfr s T/BuggyBox/python/3.12.0/bootstrap/lib/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 ++-dhh77r N)__name__
__module____qualname__r r r r r r s 8r r c P e Zd ZdZeZ fdZd Zd Ze j fdZ xZS )r
r c 2 g | _ t | | y r )_fdssuperr )r process_obj __class__s r r zPopen.__init__! s
%r c h | j j | t | j dz
S )Nr )r appendlen)r fds r duplicate_for_childzPopen.duplicate_for_child% s'