관리-도구
편집 파일: pool.cpython-36.opt-2.pyc
3 ��2a�e � @ s8 d dgZ ddlZddlZddlZddlZddlZddlZddlZddlm Z ddlm Z mZ dZdZ dZej� Zdd � Zd d� ZG dd � d e�ZG dd� d�Zdd� ZG dd� de�Zdf ddfdd�Zdd� ZG dd � d e�ZG dd� de�ZeZG dd� de�ZG dd� de�ZG d d!� d!e�Z G d"d� de�Z!dS )#�Pool� ThreadPool� N� )�util)�get_context�TimeoutError� c C s t t| � �S )N)�list�map)�args� r �)/opt/alt/python36/lib64/python3.6/pool.py�mapstar+ s r c C s t tj| d | d ��S )Nr r )r � itertools�starmap)r r r r �starmapstar. s r c @ s e Zd Zdd� Zdd� ZdS )�RemoteTracebackc C s || _ d S )N)�tb)�selfr r r r �__init__6 s zRemoteTraceback.__init__c C s | j S )N)r )r r r r �__str__8 s zRemoteTraceback.__str__N)�__name__� __module__�__qualname__r r r r r r r 5 s r c @ s e Zd Zdd� Zdd� ZdS )�ExceptionWithTracebackc C s0 t jt|�||�}dj|�}|| _d| | _d S )N� z """ %s""")� traceback�format_exception�type�join�excr )r r r r r r r <