Your IP : 18.225.255.200


Current Path : /opt/alt/python313/lib64/python3.13/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/__pycache__/copyreg.cpython-313.pyc

�

1}g�����Sr/SQr0rSSjrSrSr\"\\\5 Sr\"\"\	\
-5\5 SrSr\"\	R5rS	rS
rSrSr0r0r0rS
rSrSrg)z�Helper to provide extensibility for pickle.

This is only useful to add pickle support for extension types defined in
C, not for instances of user-defined classes.
)�pickle�constructor�
add_extension�remove_extension�clear_extension_cacheNc�j�[U5(d[S5eU[U'Ub[U5 gg)Nz$reduction functions must be callable)�callable�	TypeError�dispatch_tabler)�ob_type�pickle_function�constructor_obs   �./opt/alt/python313/lib64/python3.13/copyreg.pyrrs8���O�$�$��>�?�?�-�N�7���!��N�#�"�c�:�[U5(d[S5eg)Nzconstructors must be callable)rr	)�objects rrrs���F����7�8�8�rc�>�[URUR44$�N)�complex�real�imag)�cs r�pickle_complexrs���Q�V�V�Q�V�V�$�$�$rc�Z�SSKnSSKnURURUR44$)N�)�	functools�operator�reduce�or_�__args__)�objrrs   r�pickle_unionr!!s#������h�l�l�C�L�L�9�9�9rc���U[La[RU5nU$URX5nUR[R:waURX25 U$r)r�__new__�__init__)�cls�base�stater s    r�_reconstructorr()sO���v�~��n�n�S�!��
�J��l�l�3�&���=�=�F�O�O�+��M�M�#�%��Jric� �US:deURnURHbn[US5(aUR[-(d O>UR
n[
U[5(dMQURULdMb O [nU[LaSnO&X2La[SUR<S35eU"U5nX#U4nURn[U5R[RLa[USS5(a[S5eU"5nU(a["Xh4$["U4$![aR [USS5(a[SUR<SU35SeUR nN_![a SnNnf=ff=f)N��	__flags__zcannot pickle z object�	__slots__zNa class that defines __slots__ without defining __getstate__ cannot be pickledzf object: a class that defines __slots__ without defining __getstate__ cannot be pickled with protocol )�	__class__�__mro__�hasattrr+�	_HEAPTYPEr#�
isinstance�	_new_type�__self__rr	�__name__�__getstate__�type�getattr�AttributeError�__dict__r()	�self�protor%r&�newr'�args�getstate�dicts	         r�
_reduce_exr@7s����1�9��9�
�.�.�C������4��%�%�d�n�n�y�.H���l�l���c�9�%�%�#�,�,�$�*>������v�~����;��n�S�\�\�,<�G�D�E�E��T�
���u��D���$�$��
��J�#�#�v�':�':�:��D�+�t�,�,��F�G�
G��z����t�)�)��t�#�#��'�	��4��d�+�+��n�S�\�\�,<�=-�.3�G�5�6�<@�
@�	��=�=�D���	��D�	��	�s*�D1�19F
�+E9�9F	�F
�F	�	F
c�(�UR"U/UQ76$r�r#)r%r=s  r�
__newobj__rCbs���;�;�s�"�T�"�"rc�.�UR"U/UQ70UD6$)zwUsed by pickle protocol 4, instead of __newobj__ to allow classes with
keyword-only arguments to be pickled correctly.
rB)r%r=�kwargss   r�
__newobj_ex__rFes���;�;�s�,�T�,�V�,�,rc�^�URRS5nUbU$/n[US5(dO�URH�nSUR;dMURSn[	U[
5(aU4nUH�nUS;aMUR
S5(aeURS5(dOURRS5nU(aURSU<U<35 MsURU5 M�URU5 M� M� XlU$! U$=f)aReturn a list of slot names for a given class.

This needs to find slots defined by the class and its bases, so we
can't simply return the __slots__ attribute.  We must walk down
the Method Resolution Order and concatenate the __slots__ of each
class found there.  (This assumes classes don't modify their
__slots__ attribute to misrepresent their slots after the class is
defined.)
�
__slotnames__r,)r9�__weakref__�__�_)r9�getr/r.r1�str�
startswith�endswithr4�lstrip�appendrH)r%�namesr�slots�name�strippeds      r�
_slotnamesrVks��
�L�L���_�-�E�����
�E��3��$�$�����A��a�j�j�(��
�
�;�/���e�S�)�)�"�H�E�!�D��:�:� �����.�.�t�}�}�T�7J�7J�#$�:�:�#4�#4�S�#9��#�!�L�L�H�d�)C�D�!�L�L��.����T�*�"�
�*
�!���L��
���L�s�D'�'D,c�n�[U5nSUs=::aS::d
O [S5eX4n[RU5U:Xa[RU5U:XagU[;a[SU<S[U<35eU[;a[SU<S[U<35eU[U'U[U'g)	zRegister an extension code.�i���zcode out of rangeN�key z! is already registered with code zcode z is already in use for key )�int�
ValueError�_extension_registryrL�_inverted_registry��modulerT�code�keys    rrr�s����t�9�D���"�
�"��,�-�-��.�C�����$��,����t�$��+��
�!�!���2�3�7�9�:�	:��!�!��� 2�4� 8�:�;�	;�#����"��t�rc���X4n[RU5U:wd[RU5U:wa[SU<SU<35e[U	[U	U[;a[U	gg)z0Unregister an extension code.  For testing only.rYz is not registered with code N)r\rLr]r[�_extension_cacher^s    rrr�sl���.�C�����$��,����t�$��+���t�%�&�	&��C� ��4� �����T�"� rc�,�[R5 gr)rc�clear�rrrr�s�����rr)�__doc__�__all__r
rrrrr!r6rZrMr(r0r#r2r@rCrFrVr\r]rcrrrrfrr�<module>ris����I����$�9�%��w���(�:��t�C�#�I���%��
�	������	�'$�V#�-�1�x������#�$
#�r

?>