관리-도구
편집 파일: managers.cpython-37.pyc
B � f� � @ s� d dddgZ ddlZddlZddlZddlZddlZddlmZ ddlm Z dd l mZmZm Z dd lmZ ddlmZ ddlmZ dd lmZ dd� Ze�eje� dd� dD �Zed ek r�dd� ZxeD ]Ze�ee� q�W G dd� de�Zdi fdd�Zdd� ZG dd� de�Zdd� Zdd � ZG d!d"� d"e�Z G d#d$� d$e�Z!e j"e j#fe j$e j%fd%�Z&G d&d � d e�Z'G d'd(� d(e(�Z)G d)d� de�Z*d*d+� Z+i fd,d-�Z,ddd/d0�Z-G d1d2� d2e�Z.G d3d4� d4e�Z/ded5d6�Z0G d7d8� d8e*�Z1G d9d:� d:e*�Z2G d;d<� d<e2�Z3G d=d>� d>e*�Z4G d?d@� d@e*�Z5G dAdB� dBe*�Z6G dCdD� dDe*�Z7e,dEdF�Z8G dGdH� dHe8�Z9e,dIdJ�Z:dKdLie:_;e,dMdN�Z<e,dOdP�Z=dQdQdQdLdLdR�e=_;G dSdO� dOe=�Z>G dTd� de'�Z?e?�dUej@� e?�dVej@� e?�dWejAe4� e?�dXejBe2� e?�dYejCe2� e?�dZejDe2� e?�d[ejEe2� e?�d\ejFe3� e?�d]ejGe5� e?�d^ejHe>� e?�d_ee9� e?�d`eIe:� e?�d4e/e7� e?�d6e0e<� e?�d2e.e6� e?jdLe1dadb� e?jdQdadc� dS )f�BaseManager�SyncManager� BaseProxy�Token� N)� format_exc� )� connection)� reduction�get_spawning_popen�ProcessError)�pool)�process)�util)�get_contextc C s t j | j| �� ffS )N)�array�typecode�tobytes)�a� r �=/opt/alt/python37/lib64/python3.7/multiprocessing/managers.py�reduce_array$ s r c C s g | ]}t ti |�� ��qS r )�type�getattr)�.0�namer r r � <listcomp>( s r )�items�keys�valuesc C s t t | �ffS )N)�list)�objr r r �rebuild_as_list* s r! c @ s4 e Zd ZdZdZdd� Zdd� Zdd� Zd d � ZdS )r z3 Type to uniquely identify a shared object )�typeid�address�idc C s ||| | _ | _| _d S )N)r"