Hacked By AnonymousFox

Current Path : /opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/copyreg.cpython-35.opt-2.pyc



���]��@s�dddddgZiZddd�Zdd�ZyeWnek
rRYnXdd	�Zeeee�d
d�ZdZdd�Z	dd�Z
dd�Zdd�ZiZ
iZiZdd�Zdd�Zdd�ZdS)�pickle�constructor�
add_extension�remove_extension�clear_extension_cacheNcCs<t|�std��|t|<|dk	r8t|�dS)Nz$reduction functions must be callable)�callable�	TypeError�dispatch_tabler)�ob_type�pickle_function�constructor_ob�r�,/opt/alt/python35/lib64/python3.5/copyreg.pyrs

cCst|�std��dS)Nzconstructors must be callable)rr)�objectrrr
rscCst|j|jffS)N)�complex�real�imag)�crrr
�pickle_complex"srcCsV|tkrtj|�}n4|j||�}|jtjkrR|j||�|S)N)r�__new__�__init__)�cls�base�state�objrrr
�_reconstructor)sr��	cCs"x8|jjD]$}t|d�r
|jt@r
Pq
Wt}|tkrPd}n.||jkrrtd|j��||�}|j||f}y
|j}WnXt	k
r�t
|dd�r�td��y
|j}Wnt	k
r�d}YnXYn
X|�}|rt||fSt|fSdS)N�	__flags__zcan't pickle %s objects�	__slots__zNa class that defines __slots__ without defining __getstate__ cannot be pickled)
�	__class__�__mro__�hasattrr�	_HEAPTYPErr�__name__�__getstate__�AttributeError�getattr�__dict__r)�self�protorr�args�getstate�dictrrr
�
_reduce_ex6s.	



	
r-cGs|j||�S)N)r)rr*rrr
�
__newobj__Wsr.cCs|j|||�S)N)r)rr*�kwargsrrr
�
__newobj_ex__Zsr0c	Cs
|jjd�}|dk	r"|Sg}t|d�s:n�x�|jD]�}d|jkrD|jd}t|t�r~|f}xi|D]a}|dkr�q�q�|jd�r�|jd�r�|jd|j	|f�q�|j|�q�WqDWy
||_
WnYnX|S)N�
__slotnames__rr'�__weakref__�__z_%s%s)r'r2)r'�getr!r �
isinstance�str�
startswith�endswith�appendr#r1)r�namesr�slots�namerrr
�
_slotnames`s,
	

r=cCs�t|�}d|ko#dkns4td��||f}tj|�|krntj|�|krndS|tkr�td|t|f��|tkr�td|t|f��|t|<|t|<dS)Nri���zcode out of rangez)key %s is already registered with code %sz$code %s is already in use for key %s)�int�
ValueError�_extension_registryr4�_inverted_registry)�moduler<�code�keyrrr
r�s
cCsq||f}tj|�|ks6tj|�|krLtd||f��t|=t|=|tkrmt|=dS)Nz%key %s is not registered with code %s)r@r4rAr?�_extension_cache)rBr<rCrDrrr
r�scCstj�dS)N)rE�clearrrrr
r�si)�__all__rrrr�	NameErrorrrr"r-r.r0r=r@rArErrrrrrr
�<module>s,

	!8

Hacked By AnonymousFox1.0, Coded By AnonymousFox