Hacked By AnonymousFox

Current Path : /opt/alt/python36/lib64/python3.6/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/__pycache__/copy.cpython-36.opt-2.pyc

3

��2ao"�@sfddlZddlZddlmZGdd�de�ZeZyddlmZWne	k
rXdZYnXdddgZ
dd�ZiZZ
d	d
�ZxHed�eeeeeeeeeeeejee�ee�ejejfD]Zee
e<q�We edd�Zedk	r�ee
e<e!je
e!<e"je
e"<e#je
e#<e$je
e$<edk	�reje
e<[
[dgfdd�Z%iZ&Z
d
d�Z'e'e
ed�<e'e
ee�<e'e
ee�<e'e
e<e'e
e<e'e
e<e'e
e<e'e
e<e'e
e<ye'e
ej(<Wne)k
�r�YnXe'e
e<e'e
ej<e'e
ej<e'e
ej<e%fdd�Z*e*e
e!<e%fdd�Z+e+e
e<e%fdd�Z,e,e
e"<edk	�r.e,e
e<dd�Z-e-e
ej.<[
dd�Z/ddde%fdd�Z0[[[dS)�N)�dispatch_tablec@seZdZdS)�ErrorN)�__name__�
__module__�__qualname__�rr�)/opt/alt/python36/lib64/python3.6/copy.pyr7sr)�PyStringMap�copy�deepcopycCs�t|�}tj|�}|r||�Syt|t�}Wntk
rDd}YnX|rRt|�St|dd�}|rj||�Stj|�}|r�||�}n>t|dd�}|r�|d�}n$t|dd�}|r�|�}ntd|��t	|t
�r�|St|df|��S)NF�__copy__�
__reduce_ex__��
__reduce__z%un(shallow)copyable object of type %s)�type�_copy_dispatch�get�
issubclass�	TypeError�_copy_immutable�getattrrr�
isinstance�str�_reconstruct)�x�cls�copier�issc�reductor�rvrrrr
Bs4





cCs|S)Nr)rrrrrosr�CodeTypec
Cs8|dkri}t|�}|j||�}||k	r,|St|�}tj|�}|rN|||�}n�yt|t�}Wntk
rtd}YnX|r�t||�}n�t|dd�}|r�||�}nxtj|�}|r�||�}	n>t|dd�}|r�|d�}	n$t|dd�}|r�|�}	nt	d|��t
|	t��r|}nt||f|	��}||k	�r4|||<t
||�|S)Nr�__deepcopy__r
rrz"un(deep)copyable object of type %s)�idrr�_deepcopy_dispatchrr�_deepcopy_atomicrrrrrr�_keep_alive)
r�memo�_nil�d�yrrrrrrrrr�sJ








cCs|S)Nr)rr&rrrr$�sr$cCs6g}||t|�<|j}x|D]}||||��qW|S)N)r"�append)rr&rr)r*�arrr�_deepcopy_list�s
r,csh��fdd�|D�}y�t|�Stk
r4YnXx,t||�D]\}}||k	rBt|�}PqBW|}|S)Ncsg|]}�|���qSrr)�.0r+)rr&rr�
<listcomp>�sz#_deepcopy_tuple.<locals>.<listcomp>)r"�KeyError�zip�tuple)rr&rr)�k�jr)rr&r�_deepcopy_tuple�sr4cCs>i}||t|�<x(|j�D]\}}|||�||||�<qW|S)N)r"�items)rr&rr)�key�valuerrr�_deepcopy_dict�s
r8cCst|�|jt|j|��S)N)r�__func__r�__self__)rr&rrr�_deepcopy_method�sr;cCs>y|t|�j|�Wn"tk
r8|g|t|�<YnXdS)N)r"r*r/)rr&rrrr%�s
r%csx�dk	}|r$|r$��fdd�|D�}||�}	|r<|	�t|�<|dk	r�|rR�|��}t|	d�rh|	j|�nbt|t�r�t|�dkr�|\}}
nd}
|dk	r�|	jj|�|
dk	r�x |
j�D]\}}t	|	||�q�W|dk	�r|r�x<|D]}
�|
��}
|	j
|
�q�Wnx|D]}
|	j
|
��qW|dk	�rt|�rXxL|D]&\}}�|��}�|��}||	|<�q,Wnx|D]\}}||	|<�q^W|	S)Nc3s|]}�|��VqdS)Nr)r-�arg)rr&rr�	<genexpr>sz_reconstruct.<locals>.<genexpr>�__setstate__�)r"�hasattrr>rr1�len�__dict__�updater5�setattrr*)rr&�func�args�state�listiter�dictiterr�deepr)�	slotstater6r7�itemr)rr&rrsF









r)1�types�weakref�copyregr�	Exceptionr�errorZorg.python.corer	�ImportError�__all__r
rr(rr�int�float�bool�complexrr1�bytes�	frozenset�range�slice�BuiltinFunctionType�Ellipsis�NotImplemented�FunctionType�ref�tr�list�dict�set�	bytearrayrr#r$r �AttributeErrorr,r4r8r;�
MethodTyper%rrrrr�<module>3s|

+






8




+

Hacked By AnonymousFox1.0, Coded By AnonymousFox