$25 GRAYBYTE WORDPRESS FILE MANAGER $80

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib64/python3.9/asyncio/__pycache__/

HOME
Current File : /opt/alt/python39/lib64/python3.9/asyncio/__pycache__//queues.cpython-39.pyc
a

XC?hq �@s�dZddlZddlZddlZddlmZddlmZddlmZGdd�de	�Z
Gd	d
�d
e	�ZGdd�d�ZGd
d�de�Z
Gdd�de�ZdS))�Queue�
PriorityQueue�	LifoQueue�	QueueFull�
QueueEmpty�N)�GenericAlias�)�events)�locksc@seZdZdZdS)rz;Raised when Queue.get_nowait() is called on an empty Queue.N��__name__�
__module__�__qualname__�__doc__�rr�3/opt/alt/python39/lib64/python3.9/asyncio/queues.pyrsrc@seZdZdZdS)rzDRaised when the Queue.put_nowait() method is called on a full Queue.Nrrrrrrsrc@s�eZdZdZd)dd�dd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
ee�Z
dd�Zdd�Zedd��Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�ZdS)*raA queue, useful for coordinating producer and consumer coroutines.

    If maxsize is less than or equal to zero, the queue size is infinite. If it
    is an integer greater than 0, then "await put()" will block when the
    queue reaches maxsize, until an item is removed by get().

    Unlike the standard library Queue, you can reliably know this Queue's size
    with qsize(), since your single-threaded asyncio application won't be
    interrupted between calling qsize() and doing an operation on the Queue.
    rN��loopcCsp|durt��|_n||_tjdtdd�||_t��|_	t��|_
d|_tj
|d�|_|j��|�|�dS)Nz[The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.�)�
stacklevelrr)r	Zget_event_loop�_loop�warnings�warn�DeprecationWarning�_maxsize�collections�deque�_getters�_putters�_unfinished_tasksr
ZEvent�	_finished�set�_init)�self�maxsizerrrr�__init__"s�


zQueue.__init__cCst��|_dS�N)rr�_queue�r#r$rrrr"7szQueue._initcCs
|j��Sr&)r'�popleft�r#rrr�_get:sz
Queue._getcCs|j�|�dSr&�r'�append�r#�itemrrr�_put=sz
Queue._putcCs&|r"|��}|��s|�d�q"qdSr&)r)ZdoneZ
set_result)r#�waitersZwaiterrrr�_wakeup_nextBs

zQueue._wakeup_nextcCs(dt|�j�dt|�d�d|���d�S)N�<z at z#x� �>)�typer�id�_formatr*rrr�__repr__JszQueue.__repr__cCsdt|�j�d|���d�S)Nr3r4r5)r6rr8r*rrr�__str__Msz
Queue.__str__cCs~d|j��}t|dd�r,|dt|j���7}|jrH|dt|j��d�7}|jrd|dt|j��d�7}|jrz|d|j��7}|S)Nzmaxsize=r'z _queue=z
 _getters[�]z
 _putters[z tasks=)r�getattr�listr'r�lenrr)r#�resultrrrr8Rsz
Queue._formatcCs
t|j�S)zNumber of items in the queue.)r>r'r*rrr�qsize^szQueue.qsizecCs|jS)z%Number of items allowed in the queue.)rr*rrrr$bsz
Queue.maxsizecCs|jS)z3Return True if the queue is empty, False otherwise.�r'r*rrr�emptygszQueue.emptycCs |jdkrdS|��|jkSdS)z�Return True if there are maxsize items in the queue.

        Note: if the Queue was initialized with maxsize=0 (the default),
        then full() is never True.
        rFN)rr@r*rrr�fullks
z
Queue.fullc�s�|��r�|j��}|j�|�z|IdHWq|��z|j�|�Wnty^Yn0|��s||��s||�	|j��Yq0q|�
|�S)z�Put an item into the queue.

        Put an item into the queue. If the queue is full, wait until a free
        slot is available before adding item.
        N)rCr�
create_futurerr-�cancel�remove�
ValueError�	cancelledr2�
put_nowait)r#r/Zputterrrr�putvs

z	Queue.putcCs>|��rt�|�|�|jd7_|j��|�|j�dS)zyPut an item into the queue without blocking.

        If no free slot is immediately available, raise QueueFull.
        rN)rCrr0rr �clearr2rr.rrrrI�s

zQueue.put_nowaitc�s�|��r�|j��}|j�|�z|IdHWq|��z|j�|�Wnty^Yn0|��s||��s||�	|j��Yq0q|�
�S)zoRemove and return an item from the queue.

        If queue is empty, wait until an item is available.
        N)rBrrDrr-rErFrGrHr2�
get_nowait)r#�getterrrr�get�s

z	Queue.getcCs$|��rt�|��}|�|j�|S)z�Remove and return an item from the queue.

        Return an item if one is immediately available, else raise QueueEmpty.
        )rBrr+r2rr.rrrrL�s
zQueue.get_nowaitcCs8|jdkrtd��|jd8_|jdkr4|j��dS)a$Indicate that a formerly enqueued task is complete.

        Used by queue consumers. For each get() used to fetch a task,
        a subsequent call to task_done() tells the queue that the processing
        on the task is complete.

        If a join() is currently blocking, it will resume when all items have
        been processed (meaning that a task_done() call was received for every
        item that had been put() into the queue).

        Raises ValueError if called more times than there were items placed in
        the queue.
        rz!task_done() called too many timesrN)rrGr r!r*rrr�	task_done�s


zQueue.task_donec�s|jdkr|j��IdHdS)aBlock until all items in the queue have been gotten and processed.

        The count of unfinished tasks goes up whenever an item is added to the
        queue. The count goes down whenever a consumer calls task_done() to
        indicate that the item was retrieved and all work on it is complete.
        When the count of unfinished tasks drops to zero, join() unblocks.
        rN)rr �waitr*rrr�join�s
z
Queue.join)r)rr
rrr%r"r+r0r2r9r:�classmethodr�__class_getitem__r8r@�propertyr$rBrCrJrIrNrLrOrQrrrrrs*
rc@s4eZdZdZdd�Zejfdd�Zejfdd�Z	dS)	rz�A subclass of Queue; retrieves entries in priority order (lowest first).

    Entries are typically tuples of the form: (priority number, data).
    cCs
g|_dSr&rAr(rrrr"�szPriorityQueue._initcCs||j|�dSr&rA)r#r/�heappushrrrr0�szPriorityQueue._putcCs
||j�Sr&rA)r#�heappoprrrr+�szPriorityQueue._getN)
rr
rrr"�heapqrUr0rVr+rrrrr�src@s(eZdZdZdd�Zdd�Zdd�ZdS)	rzEA subclass of Queue that retrieves most recently added entries first.cCs
g|_dSr&rAr(rrrr"�szLifoQueue._initcCs|j�|�dSr&r,r.rrrr0�szLifoQueue._putcCs
|j��Sr&)r'�popr*rrrr+�szLifoQueue._getN)rr
rrr"r0r+rrrrr�sr)�__all__rrWr�typesr�r	r
�	Exceptionrrrrrrrrr�<module>sM


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Jul 2025 8.33 AM
root / linksafe
0755
__init__.cpython-39.opt-1.pyc
0.775 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.opt-2.pyc
0.721 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.pyc
0.775 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__main__.cpython-39.opt-1.pyc
3.149 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__main__.cpython-39.opt-2.pyc
3.149 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__main__.cpython-39.pyc
3.149 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_events.cpython-39.opt-1.pyc
50.966 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_events.cpython-39.opt-2.pyc
42.148 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_events.cpython-39.pyc
51.087 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_futures.cpython-39.opt-1.pyc
1.878 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_futures.cpython-39.opt-2.pyc
1.63 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_futures.cpython-39.pyc
1.878 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_subprocess.cpython-39.opt-1.pyc
9.136 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_subprocess.cpython-39.opt-2.pyc
9.038 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_subprocess.cpython-39.pyc
9.204 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_tasks.cpython-39.opt-1.pyc
1.913 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_tasks.cpython-39.opt-2.pyc
1.913 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
base_tasks.cpython-39.pyc
1.913 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
constants.cpython-39.opt-1.pyc
0.582 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
constants.cpython-39.opt-2.pyc
0.582 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
constants.cpython-39.pyc
0.582 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
coroutines.cpython-39.opt-1.pyc
6.434 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
coroutines.cpython-39.opt-2.pyc
6.207 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
coroutines.cpython-39.pyc
6.496 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
events.cpython-39.opt-1.pyc
27.433 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
events.cpython-39.opt-2.pyc
18.549 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
events.cpython-39.pyc
27.513 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
exceptions.cpython-39.opt-1.pyc
2.508 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
exceptions.cpython-39.opt-2.pyc
1.879 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
exceptions.cpython-39.pyc
2.508 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
format_helpers.cpython-39.opt-1.pyc
2.284 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
format_helpers.cpython-39.opt-2.pyc
2.046 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
format_helpers.cpython-39.pyc
2.284 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
futures.cpython-39.opt-1.pyc
11.367 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
futures.cpython-39.opt-2.pyc
7.943 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
futures.cpython-39.pyc
11.515 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
locks.cpython-39.opt-1.pyc
14.14 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
locks.cpython-39.opt-2.pyc
8.049 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
locks.cpython-39.pyc
14.14 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
log.cpython-39.opt-1.pyc
0.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
log.cpython-39.opt-2.pyc
0.197 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
log.cpython-39.pyc
0.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
proactor_events.cpython-39.opt-1.pyc
23.632 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
proactor_events.cpython-39.opt-2.pyc
23.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
proactor_events.cpython-39.pyc
23.856 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
protocols.cpython-39.opt-1.pyc
8.252 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
protocols.cpython-39.opt-2.pyc
3.291 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
protocols.cpython-39.pyc
8.252 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.opt-1.pyc
8.28 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.opt-2.pyc
5.664 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.pyc
8.28 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
runners.cpython-39.opt-1.pyc
2.17 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
runners.cpython-39.opt-2.pyc
1.504 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
runners.cpython-39.pyc
2.17 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
selector_events.cpython-39.opt-1.pyc
28.991 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
selector_events.cpython-39.opt-2.pyc
27.384 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
selector_events.cpython-39.pyc
29.034 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sslproto.cpython-39.opt-1.pyc
21.228 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sslproto.cpython-39.opt-2.pyc
14.439 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sslproto.cpython-39.pyc
21.388 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
staggered.cpython-39.opt-1.pyc
3.928 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
staggered.cpython-39.opt-2.pyc
1.845 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
staggered.cpython-39.pyc
4.077 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
streams.cpython-39.opt-1.pyc
19.896 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
streams.cpython-39.opt-2.pyc
14.141 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
streams.cpython-39.pyc
20.118 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
subprocess.cpython-39.opt-1.pyc
7.164 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
subprocess.cpython-39.opt-2.pyc
7.039 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
subprocess.cpython-39.pyc
7.178 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tasks.cpython-39.opt-1.pyc
23.693 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tasks.cpython-39.opt-2.pyc
16.612 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tasks.cpython-39.pyc
23.732 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
threads.cpython-39.opt-1.pyc
0.97 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
threads.cpython-39.opt-2.pyc
0.515 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
threads.cpython-39.pyc
0.97 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
transports.cpython-39.opt-1.pyc
12.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
transports.cpython-39.opt-2.pyc
6.821 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
transports.cpython-39.pyc
12.255 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
trsock.cpython-39.opt-1.pyc
8.383 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
trsock.cpython-39.opt-2.pyc
8.133 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
trsock.cpython-39.pyc
8.383 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
unix_events.cpython-39.opt-1.pyc
40.761 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
unix_events.cpython-39.opt-2.pyc
35.66 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
unix_events.cpython-39.pyc
41.073 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_events.cpython-39.opt-1.pyc
24.15 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_events.cpython-39.opt-2.pyc
23.069 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_events.cpython-39.pyc
24.166 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_utils.cpython-39.opt-1.pyc
4.346 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_utils.cpython-39.opt-2.pyc
3.922 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
windows_utils.cpython-39.pyc
4.412 KB
19 Jun 2025 12.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF