uawdijnntqw1x1x1
IP : 3.146.176.191
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
lib64
/
python3.8
/
multiprocessing
/
.
/
.
/
..
/
asyncio
/
..
/
__pycache__
/
types.cpython-38.opt-1.pyc
/
/
U e5d�%�@s�dZddlZdd�Zee�Zedd��Zeej�Zeej�Z eej �Zdd�Zee��Z d d �Zee��Zdd�Ze�Zee�Ze��d d�Ze�Zee�ZGdd�d�Zee�j�Zee�Zegj�Zeej�Zee�j�Z ee!j"�Z#ee$jd�Z%ee�Z&ze'�Wn:e'k �rBe�(�dZ)ee)�Z*ee)j+�Z,dZ)[)YnXeej�Z-eej.�Z/[[[[[[d$dd�Z0dd�Z1d%dd�Z2dd�Z3Gdd�d�Z4Gdd�d�Z5d d!�Z6d"d#�e7�D�Z8dS)&zO Define names for built-in types that aren't directly accessible as a builtin. �NcCsdS�N�rrr�/usr/lib64/python3.8/types.py�_f�rcCsdSrrrrrr�<lambda> rrcsd��fdd�}|jdS)N�csdSrrr��arr�fsz_cell_factory.<locals>.fr)�__closure__)rrr r� _cell_factorysr ccs dVdS)Nrrrrrr�_gsrc�sdSrrrrrr�_crrcCs dVdSrrrrrr�_ag"src@seZdZdd�ZdS)�_CcCsdSrr��selfrrr�_m(rz_C._mN)�__name__� __module__�__qualname__rrrrrr'sr�fromkeys�rcCsJt|�}t|||�\}}}|dk r*||�||k r:||d<||||f|�S)zBCreate a class object dynamically using the appropriate metaclass.N�__orig_bases__)� resolve_bases� prepare_class)�name�bases�kwds� exec_body�resolved_bases�meta�nsrrr� new_classEsr$cCs�t|�}d}d}t|�D]j\}}t|t�r,qt|d�s8q|�|�}d}t|t�sZtd��q||||||d�<|t|�d7}q|s�|St|�S)z8Resolve MRO entries dynamically as specified by PEP 560.Fr�__mro_entries__Tz#__mro_entries__ must return a tupler) �list� enumerate� isinstance�type�hasattrr%�tuple� TypeError�len)r� new_bases�updated�shift�i�base�new_baserrrrOs" rcCs~|dkri}nt|�}d|kr*|�d�}n|r<t|d�}nt}t|t�rTt||�}t|d�rp|j||f|�}ni}|||fS)azCall the __prepare__ method of the appropriate metaclass. Returns (metaclass, namespace, kwds) as a 3-tuple *metaclass* is the appropriate metaclass *namespace* is the prepared class namespace *kwds* is an updated copy of the passed in kwds argument with any 'metaclass' entry removed. If no kwds argument is passed in, this will be an empty dict. N� metaclassr�__prepare__)�dict�popr)r(�_calculate_metar*r5)rrrr"r#rrrrds rcCs>|}|D]0}t|�}t||�r qt||�r0|}qtd��q|S)z%Calculate the most derived metaclass.zxmetaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases)r)� issubclassr,)r"r�winnerr2� base_metarrrr8�s r8c@sLeZdZdZddd�Zddd�Zdd�Zd d �Zdd�Zd d�Z dd�Z dS)�DynamicClassAttributeaRoute attribute access on a class to __getattr__. This is a descriptor, used to define attributes that act differently when accessed through an instance and through a class. Instance access remains normal, but access to an attribute through a class will be routed to the class's __getattr__ method; this is done by raising AttributeError. This allows one to have properties active on an instance, and have virtual attributes on the class with the same name (see Enum for an example). NcCs>||_||_||_|p|j|_|dk|_tt|dd��|_dS)N�__isabstractmethod__F)�fget�fset�fdel�__doc__� overwrite_doc�bool�getattrr=)rr>r?r@�docrrr�__init__�s zDynamicClassAttribute.__init__cCs6|dkr|jr|St��n|jdkr,td��|�|�S)Nzunreadable attribute)r=�AttributeErrorr>)r�instance� ownerclassrrr�__get__�s zDynamicClassAttribute.__get__cCs"|jdkrtd��|�||�dS)Nzcan't set attribute)r?rG)rrH�valuerrr�__set__�s zDynamicClassAttribute.__set__cCs |jdkrtd��|�|�dS)Nzcan't delete attribute)r@rG)rrHrrr� __delete__�s z DynamicClassAttribute.__delete__cCs8|jr|jnd}t|�||j|j|p(|j�}|j|_|Sr)rBrAr)r?r@)rr>�fdoc�resultrrr�getter�szDynamicClassAttribute.gettercCs$t|�|j||j|j�}|j|_|Sr)r)r>r@rArB)rr?rOrrr�setter�szDynamicClassAttribute.settercCs$t|�|j|j||j�}|j|_|Sr)r)r>r?rArB)rr@rOrrr�deleter�szDynamicClassAttribute.deleter)NNNN)N)rrrrArFrJrLrMrPrQrRrrrrr<�s r<c@s�eZdZdd�Zdd�Zdd�Zdd�Zed d ��Zedd��Z ed d��Z edd��ZeZe Z e ZeZdd�Zdd�ZeZdS)�_GeneratorWrappercCs2||_|jtk|_t|dd�|_t|dd�|_dS)Nrr)�_GeneratorWrapper__wrapped� __class__� GeneratorType�_GeneratorWrapper__isgenrDrr)r�genrrrrF�sz_GeneratorWrapper.__init__cCs|j�|�Sr)rT�send)r�valrrrrY�sz_GeneratorWrapper.sendcGs|jj|f|��Sr)rT�throw)r�tp�restrrrr[�sz_GeneratorWrapper.throwcCs |j��Sr)rT�closerrrrr^�sz_GeneratorWrapper.closecCs|jjSr)rT�gi_coderrrrr_�sz_GeneratorWrapper.gi_codecCs|jjSr)rT�gi_framerrrrr`�sz_GeneratorWrapper.gi_framecCs|jjSr)rT� gi_runningrrrrra�sz_GeneratorWrapper.gi_runningcCs|jjSr)rT�gi_yieldfromrrrrrb�sz_GeneratorWrapper.gi_yieldfromcCs t|j�Sr)�nextrTrrrr�__next__�sz_GeneratorWrapper.__next__cCs|jr|jS|Sr)rWrTrrrr�__iter__�sz_GeneratorWrapper.__iter__N)rrrrFrYr[r^�propertyr_r`rarb�cr_code�cr_frame� cr_running�cr_awaitrdre� __await__rrrrrS�s& rScs�t��std���jtkrft�dd�jtkrf�jj}|d@r@�S|d@rf�j}|j|jdBd��_�Sddl }ddl �|�����fd d ��}|S)z2Convert regular generator function to a coroutine.z$types.coroutine() expects a callable�__code__Ni�� �)�co_flagsrcsR�||�}|jtks*|jtkr.|jjd@r.|St|�j�rNt|�j�sNt|�S|S)Nrn) rU� CoroutineTyperVr_ror(� Generator� CoroutinerS)�args�kwargs�coro��_collections_abc�funcrr�wrappeds � � �zcoroutine.<locals>.wrapped)�callabler,rU�FunctionTyperD�CodeTyperlro�replace� functoolsrw�wraps)rxro�cor~ryrrvr� coroutine�s" �r�cCs g|]}|dd�dkr|�qS)Nr�_r)�.0�nrrr� <listcomp>(sr�)rNN)rN)9rA�sysrr)r{� LambdaTyperlr|�__dict__�MappingProxyType�implementation�SimpleNamespacer �CellTyperrVrrpr^r�AsyncGeneratorTyperr� MethodTyper-�BuiltinFunctionType�append�BuiltinMethodType�objectrF�WrapperDescriptorType�__str__�MethodWrapperType�str�join�MethodDescriptorTyper6�ClassMethodDescriptorType� ModuleTyper,�exc_info�tb� TracebackType�tb_frame� FrameType�GetSetDescriptorType�__globals__�MemberDescriptorTyper$rrr8r<rSr��globals�__all__rrrr�<module>s\ :%4
/home/../lib64/python3.8/multiprocessing/././../asyncio/../__pycache__/types.cpython-38.opt-1.pyc