/snap/core24/1587/usr/lib/python3.12/__pycache__
NameSizeModeActions
abc.cpython-312.pyc80550644editdlrm
aifc.cpython-312.pyc428630644editdlrm
antigravity.cpython-312.pyc10030644editdlrm
argparse.cpython-312.pyc1016820644editdlrm
ast.cpython-312.pyc1002790644editdlrm
base64.cpython-312.pyc244080644editdlrm
bdb.cpython-312.pyc373590644editdlrm
bisect.cpython-312.pyc36410644editdlrm
bz2.cpython-312.pyc151330644editdlrm
calendar.cpython-312.pyc396210644editdlrm
cgi.cpython-312.pyc402280644editdlrm
cgitb.cpython-312.pyc173320644editdlrm
chunk.cpython-312.pyc73100644editdlrm
cmd.cpython-312.pyc186190644editdlrm
code.cpython-312.pyc130510644editdlrm
codecs.cpython-312.pyc422740644editdlrm
codeop.cpython-312.pyc69160644editdlrm
colorsys.cpython-312.pyc46420644editdlrm
compileall.cpython-312.pyc204970644editdlrm
configparser.cpython-312.pyc635820644editdlrm
contextlib.cpython-312.pyc303760644editdlrm
contextvars.cpython-312.pyc2610644editdlrm
copy.cpython-312.pyc98000644editdlrm
copyreg.cpython-312.pyc74140644editdlrm
cProfile.cpython-312.pyc85930644editdlrm
crypt.cpython-312.pyc53610644editdlrm
csv.cpython-312.pyc177880644editdlrm
dataclasses.cpython-312.pyc446780644editdlrm
datetime.cpython-312.pyc4090644editdlrm
decimal.cpython-312.pyc4060644editdlrm
difflib.cpython-312.pyc754990644editdlrm
dis.cpython-312.pyc345600644editdlrm
doctest.cpython-312.pyc1056860644editdlrm
enum.cpython-312.pyc807080644editdlrm
filecmp.cpython-312.pyc146610644editdlrm
fileinput.cpython-312.pyc202800644editdlrm
fnmatch.cpython-312.pyc64950644editdlrm
fractions.cpython-312.pyc366670644editdlrm
ftplib.cpython-312.pyc426360644editdlrm
functools.cpython-312.pyc405060644editdlrm
genericpath.cpython-312.pyc68220644editdlrm
getopt.cpython-312.pyc83630644editdlrm
getpass.cpython-312.pyc68500644editdlrm
gettext.cpython-312.pyc221510644editdlrm
glob.cpython-312.pyc98410644editdlrm
graphlib.cpython-312.pyc103270644editdlrm
gzip.cpython-312.pyc320150644editdlrm
hashlib.cpython-312.pyc80870644editdlrm
heapq.cpython-312.pyc179560644editdlrm
hmac.cpython-312.pyc106980644editdlrm
imaplib.cpython-312.pyc628890644editdlrm
imghdr.cpython-312.pyc69440644editdlrm
inspect.cpython-312.pyc1334460644editdlrm
io.cpython-312.pyc41390644editdlrm
ipaddress.cpython-312.pyc907620644editdlrm
keyword.cpython-312.pyc10410644editdlrm
linecache.cpython-312.pyc64010644editdlrm
locale.cpython-312.pyc595360644editdlrm
lzma.cpython-312.pyc158550644editdlrm
mailbox.cpython-312.pyc1116180644editdlrm
mailcap.cpython-312.pyc111550644editdlrm
mimetypes.cpython-312.pyc241850644editdlrm
modulefinder.cpython-312.pyc279440644editdlrm
netrc.cpython-312.pyc89030644editdlrm
nntplib.cpython-312.pyc449390644editdlrm
ntpath.cpython-312.pyc260330644editdlrm
nturl2path.cpython-312.pyc30340644editdlrm
numbers.cpython-312.pyc139670644editdlrm
opcode.cpython-312.pyc147160644editdlrm
operator.cpython-312.pyc173640644editdlrm
optparse.cpython-312.pyc675460644editdlrm
os.cpython-312.pyc434740644editdlrm
pathlib.cpython-312.pyc620980644editdlrm
pdb.cpython-312.pyc849190644editdlrm
pickle.cpython-312.pyc761760644editdlrm
pickletools.cpython-312.pyc811280644editdlrm
pipes.cpython-312.pyc109140644editdlrm
pkgutil.cpython-312.pyc199590644editdlrm
platform.cpython-312.pyc416000644editdlrm
plistlib.cpython-312.pyc412860644editdlrm
poplib.cpython-312.pyc184460644editdlrm
posixpath.cpython-312.pyc182360644editdlrm
pprint.cpython-312.pyc294740644editdlrm
profile.cpython-312.pyc225400644editdlrm
pstats.cpython-312.pyc379220644editdlrm
pty.cpython-312.pyc73630644editdlrm
pyclbr.cpython-312.pyc148870644editdlrm
pydoc.cpython-312.pyc1429550644editdlrm
py_compile.cpython-312.pyc100780644editdlrm
queue.cpython-312.pyc147320644editdlrm
quopri.cpython-312.pyc93230644editdlrm
random.cpython-312.pyc331530644editdlrm
reprlib.cpython-312.pyc99090644editdlrm
rlcompleter.cpython-312.pyc82820644editdlrm
runpy.cpython-312.pyc143850644editdlrm
sched.cpython-312.pyc77350644editdlrm
secrets.cpython-312.pyc25560644editdlrm
selectors.cpython-312.pyc261280644editdlrm
shelve.cpython-312.pyc129130644editdlrm
shlex.cpython-312.pyc141620644editdlrm
shutil.cpython-312.pyc681130644editdlrm
signal.cpython-312.pyc44480644editdlrm
site.cpython-312.pyc290630644editdlrm
sitecustomize.cpython-312.pyc3000644editdlrm
smtplib.cpython-312.pyc482210644editdlrm
sndhdr.cpython-312.pyc107120644editdlrm
socket.cpython-312.pyc418170644editdlrm
socketserver.cpython-312.pyc342580644editdlrm
sre_compile.cpython-312.pyc6250644editdlrm
sre_constants.cpython-312.pyc6280644editdlrm
sre_parse.cpython-312.pyc6210644editdlrm
ssl.cpython-312.pyc630110644editdlrm
stat.cpython-312.pyc52310644editdlrm
statistics.cpython-312.pyc554230644editdlrm
string.cpython-312.pyc114820644editdlrm
stringprep.cpython-312.pyc251600644editdlrm
struct.cpython-312.pyc3250644editdlrm
subprocess.cpython-312.pyc791870644editdlrm
sunau.cpython-312.pyc254230644editdlrm
symtable.cpython-312.pyc187810644editdlrm
sysconfig.cpython-312.pyc300010644editdlrm
tabnanny.cpython-312.pyc121560644editdlrm
tarfile.cpython-312.pyc1233880644editdlrm
telnetlib.cpython-312.pyc284230644editdlrm
tempfile.cpython-312.pyc473390644editdlrm
textwrap.cpython-312.pyc182930644editdlrm
this.cpython-312.pyc14080644editdlrm
threading.cpython-312.pyc653460644editdlrm
timeit.cpython-312.pyc148640644editdlrm
token.cpython-312.pyc35570644editdlrm
tokenize.cpython-312.pyc247750644editdlrm
trace.cpython-312.pyc330240644editdlrm
traceback.cpython-312.pyc515230644editdlrm
tracemalloc.cpython-312.pyc269070644editdlrm
tty.cpython-312.pyc26680644editdlrm
turtle.cpython-312.pyc1846320644editdlrm
types.cpython-312.pyc149390644editdlrm
typing.cpython-312.pyc1418600644editdlrm
uu.cpython-312.pyc78160644editdlrm
uuid.cpython-312.pyc330070644editdlrm
warnings.cpython-312.pyc237920644editdlrm
wave.cpython-312.pyc320840644editdlrm
weakref.cpython-312.pyc313480644editdlrm
webbrowser.cpython-312.pyc263530644editdlrm
xdrlib.cpython-312.pyc118410644editdlrm
zipapp.cpython-312.pyc99770644editdlrm
zipimport.cpython-312.pyc244750644editdlrm
_aix_support.cpython-312.pyc47590644editdlrm
_collections_abc.cpython-312.pyc459120644editdlrm
_compat_pickle.cpython-312.pyc72210644editdlrm
_compression.cpython-312.pyc74970644editdlrm
_distutils_system_mod.cpython-312.pyc78180644editdlrm
_markupbase.cpython-312.pyc122790644editdlrm
_osx_support.cpython-312.pyc177310644editdlrm
_pydatetime.cpython-312.pyc941930644editdlrm
_pydecimal.cpython-312.pyc2278070644editdlrm
_pyio.cpython-312.pyc1102690644editdlrm
_pylong.cpython-312.pyc99830644editdlrm
_py_abc.cpython-312.pyc70540644editdlrm
_sitebuiltins.cpython-312.pyc47600644editdlrm
_strptime.cpython-312.pyc241160644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.pyc586510644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-312.pyc586450644editdlrm
_threading_local.cpython-312.pyc82950644editdlrm
_weakrefset.cpython-312.pyc117510644editdlrm
__future__.cpython-312.pyc47040644editdlrm
__hello__.cpython-312.pyc8700644editdlrm
Edit: /snap/core24/1587/usr/lib/python3.12/__pycache__/queue.cpython-312.pyc (14732B)
Цi,dZddlZddlZddlmZddlmZmZddlm Z ddl m Z gdZ ddl mZGd d eZGd dZGddeZGddeZGddZe eZ yy#e $rdZ YOwxYw#e $rGd d eZYZwxYw)z'A multi-producer, multi-consumer queue.N)deque)heappushheappop) monotonic) SimpleQueue)EmptyFullQueue PriorityQueue LifoQueuer)rceZdZdZy)rz4Exception raised by Queue.get(block=0)/get_nowait().N__name__ __module__ __qualname____doc__/usr/lib/python3.12/queue.pyrrs> rrceZdZdZy)r z4Exception raised by Queue.put(block=0)/put_nowait().Nrrrrr r s:rr ceZdZdZddZdZdZdZdZdZ dd Z dd Z d Z d Z d ZdZdZdZeej(Zy)r zjCreate a queue object with a given maximum size. If maxsize is <= 0, the queue size is infinite. cL||_|j|tj|_tj |j|_tj |j|_tj |j|_d|_ yNr) maxsize_init threadingLockmutex Condition not_emptynot_fullall_tasks_doneunfinished_tasksselfrs r__init__zQueue.__init__"sv  7 ^^% #,,TZZ8"++DJJ7 (11$**= !rc|j5|jdz }|dkr*|dkr td|jj||_dddy#1swYyxYw)a.Indicate that a formerly enqueued task is complete. Used by Queue consumer threads. 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 a ValueError if called more times than there were items placed in the queue. rz!task_done() called too many timesN)r"r# ValueError notify_all)r% unfinisheds r task_donezQueue.task_done9sf  /..2JQ>$%HII##..0$.D !  / / /s AAA%c|j5|jr'|jj|jr'dddy#1swYyxYw)aBlocks 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 thread calls task_done() to indicate the item was retrieved and all work on it is complete. When the count of unfinished tasks drops to zero, join() unblocks. N)r"r#waitr%s rjoinz Queue.joinOsH  +''##((*'' + + +s 3A  Acf|j5|jcdddS#1swYyxYw)9Return the approximate size of the queue (not reliable!).Nr_qsizer/s rqsizez Queue.qsize\s' ZZ !;;= ! ! !s'0ch|j5|j cdddS#1swYyxYw)aReturn True if the queue is empty, False otherwise (not reliable!). This method is likely to be removed at some point. Use qsize() == 0 as a direct substitute, but be aware that either approach risks a race condition where a queue can grow before the result of empty() or qsize() can be used. To create code that needs to wait for all queued tasks to be completed, the preferred technique is to use the join() method. Nr3r/s remptyz Queue.emptyas,ZZ %{{}$ % % %s(1c|j5d|jcxkxr|jknccdddS#1swYyxYw)aOReturn True if the queue is full, False otherwise (not reliable!). This method is likely to be removed at some point. Use qsize() >= n as a direct substitute, but be aware that either approach risks a race condition where a queue can shrink before the result of full() or qsize() can be used. rN)rrr4r/s rfullz Queue.fullos7ZZ 5t||4t{{}4 5 5 5s (?ANc|j5|jdkDr|s#|j|jk\rt|V|j|jk\r|jj |j|jk\r8n|dkr t dt |z}|j|jk\rQ|t z }|dkrt|jj ||j|jk\rQ|j||xjdz c_|jjdddy#1swYyxYw)aPut an item into the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until a free slot is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Full exception if no free slot was available within that time. Otherwise ('block' is false), put an item on the queue if a free slot is immediately available, else raise the Full exception ('timeout' is ignored in that case). rN''timeout' must be a non-negative numberr() r!rr4r r.r)time_putr#r notify)r%itemblocktimeoutendtime remainings rputz Queue.putzs]] $||a{{} 4" _++-4<<7 **,++-4<<7q[$%NOO"fw.G++-4<<7$+df$4 $+"&J **95 ++-4<<7 IIdO  ! !Q & ! NN ! ! #' $ $ $sB E/B E/&AE//E8c,|j5|s|jst|<|js|jj|js+nq|dkr t dt |z}|jsD|t z }|dkrt|jj||jsD|j }|jj|cdddS#1swYyxYw)Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). Nrr;r<) r r4rr.r)r=_getr!r?)r%rArBrCrDr@s rgetz Queue.gets^^ {{}K++-NN'')++-1 !JKK&7*++- '$& 0I C'# NN'' 2 ++- 99;D MM "%   sAD #A1D +D  Dc(|j|dS)zPut an item into the queue without blocking. Only enqueue the item if a free slot is immediately available. Otherwise raise the Full exception. FrArEr%r@s r put_nowaitzQueue.put_nowait xxEx**rc&|jdSzRemove and return an item from the queue without blocking. Only get an item if one is immediately available. Otherwise raise the Empty exception. FrKrIr/s r get_nowaitzQueue.get_nowait xxex$$rc"t|_yN)rqueuer$s rrz Queue._inits W rc,t|jSrVlenrWr/s rr4z Queue._qsize4::rc:|jj|yrVrWappendrMs rr>z Queue._put $rc6|jjSrV)rWpopleftr/s rrHz Queue._getszz!!##r)rTN)rrrrr&r,r0r5r7r9rErIrNrSrr4r>rH classmethodtypes GenericAlias__class_getitem__rrrr r sa "./, +! % 5$@>+% $$E$6$67rr c(eZdZdZdZdZdZdZy)r zVariant of Queue that retrieves open entries in priority order (lowest first). Entries are typically tuples of the form: (priority number, data). cg|_yrVrWr$s rrzPriorityQueue._init  rc,t|jSrVrYr/s rr4zPriorityQueue._qsizer[rc0t|j|yrV)rrWrMs rr>zPriorityQueue._putsT"rc,t|jSrV)rrWr/s rrHzPriorityQueue._getstzz""rNrrrrrr4r>rHrrrr r s ##rr c(eZdZdZdZdZdZdZy)r zBVariant of Queue that retrieves most recently added entries first.cg|_yrVrir$s rrzLifoQueue._initrjrc,t|jSrVrYr/s rr4zLifoQueue._qsizer[rc:|jj|yrVr]rMs rr>zLifoQueue._putr_rc6|jjSrV)rWpopr/s rrHzLifoQueue._getszz~~rNrnrrrr r sL  rr cbeZdZdZdZd dZd dZdZdZdZ d Z e e jZy) _PySimpleQueuezYSimple, unbounded FIFO queue. This pure Python implementation is not reentrant. cVt|_tjd|_yr)r_queuer Semaphore_countr/s rr&z_PySimpleQueue.__init__ sg ))!, rNcn|jj||jjy)zPut the item on the queue. The optional 'block' and 'timeout' arguments are ignored, as this method never blocks. They are provided for compatibility with the Queue class. N)rxr^rzrelease)r%r@rArBs rrEz_PySimpleQueue.puts& 4  rc||dkr td|jj||st|jj S)rGrr;)r)rzacquirerrxra)r%rArBs rrIz_PySimpleQueue.getsH  7Q;FG G{{""5'2K{{""$$rc(|j|dS)zPut an item into the queue without blocking. This is exactly equivalent to `put(item, block=False)` and is only provided for compatibility with the Queue class. FrKrLrMs rrNz_PySimpleQueue.put_nowait*rOrc&|jdSrQrRr/s rrSz_PySimpleQueue.get_nowait2rTrc2t|jdk(S)zCReturn True if the queue is empty, False otherwise (not reliable!).rrZrxr/s rr7z_PySimpleQueue.empty:s4;;1$$rc,t|jS)r2rr/s rr5z_PySimpleQueue.qsize>s4;;rrb)rrrrr&rErIrNrSr7r5rcrdrerfrrrrvrvs=-%"+%% $E$6$67rrv)rrrd collectionsrheapqrrr=rrxr ImportError__all__r Exceptionr r r r rvrrrrs- #"" R   9 @8@8F#E#&    @8@8F Kw K    s"A,A9,A65A69B  B