python (3.12.0)
ˑe& d Z ddlZddlZddlmZ ddlmZ ddlmZ G d de Z G d d
e Z
G d dej Z G d
de Z
G d de Zy))Queue
PriorityQueue LifoQueue QueueFull
QueueEmpty N)GenericAlias )locks)mixinsc e Zd ZdZy)r z;Raised when Queue.get_nowait() is called on an empty Queue.N__name__
__module____qualname____doc__ B/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/asyncio/queues.pyr r s Er r c e Zd ZdZy)r zDRaised when the Queue.put_nowait() method is called on a full Queue.Nr
r r r r r s Nr r c e Zd ZdZddZd Zd Zd Zd Zd Z d Z
ee Z
d Zd
Zed Zd Zd
Zd Zd Zd Zd Zd Zd Zy)r a A 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.
c || _ t j | _ t j | _ d| _ t
j | _ | j j | j | y )Nr )_maxsizecollectionsdeque_getters_putters_unfinished_tasksr
Event _finishedset_initselfmaxsizes r __init__zQueue.__init__! s\
$))+
#))+
!"
7r c 6 t j | _ y N)r r _queuer"