grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ ’?Óäç/54ãóD€Rt^RIt^RIt^RIHt^RIHtHt^RIH t^RI H t .ROt ^R I Ht!RR]4t!RR]4t!RR 4t!RR ]4t!RR ]4t!RR4t] f]t R#R# ] dRt L`i;i ] d!R R]4tLmi;i)z'A multi-producer, multi-consumer queue.N)Údeque)ÚheappushÚheappop)Ú monotonic)Ú SimpleQueueÚEmptyÚFullÚShutDownÚQueueÚ PriorityQueueÚ LifoQueue)rcó€]tRt^tRtRtR#)rz4Exception raised by Queue.get(block=0)/get_nowait().©N©Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__róÚ,/opt/alt/python314/lib64/python3.14/queue.pyrrs†Ù>Û rcó€]tRt^tRtRtR#)rz4Exception raised by Queue.put(block=0)/put_nowait().rNrrrrrrs†Ù:Ûrcó€]tRt^$tRtRtR#)r z)Raised when put/get with shut-down queue.rNrrrrr r $s†Ý3rcó²a€]tRt^(toRtRRltRtRtRtRt Rt RR lt RR lt R t R tRR ltRtRtRtRt]!]P,4tRtVtR#)r zbCreate a queue object with a given maximum size. If maxsize is <= 0, the queue size is infinite. cób€WnVPV4\P!4Vn\P !VP4Vn\P !VP4Vn\P !VP4Vn^Vn RVn R#)éFN) ÚmaxsizeÚ_initÚ threadingÚLockÚmutexÚ ConditionÚ not_emptyÚnot_fullÚall_tasks_doneÚunfinished_tasksÚ is_shutdown©Úselfrs&&rÚ__init__ÚQueue.__init__.s~€ØŒ Ø � ‰ �7Ôô —^’^Ó%ˆŒ ô#×,Ò,¨T¯Z©ZÓ8ˆŒô"×+Ò+¨D¯J©JÓ7ˆŒ ô(×1Ò1°$·*±*Ó=ˆÔØ !ˆÔð!ˆÖrc ó€VP;_uu_4VP^, pV^8:d-V^8d \R4hVPP4WnRRR4R# +'giR#;i)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. z!task_done() called too many timesN)r%r&Ú ValueErrorÚ notify_all)r)Ú unfinisheds& rÚ task_doneÚQueue.task_doneHsa€ð× × Ó Ø×.Ñ.°Õ2ˆJؘQŒØ ”>Ü$Ð%HÓIÐIØ×#Ñ#×.Ñ.Ô0Ø$.Ô !÷ !× × Ò ús •A A,Á, A= c óÆ€VP;_uu_4VP'dVPP4K.RRR4R# +'giR#;i)a[Blocks 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&Úwait©r)s&rÚjoinÚ Queue.join^sB€ð× × Ó Ø×'×'Ð'Ø×#Ñ#×(Ñ(Ö*ð(÷!× × Ò ús•A¨AÁ A c óˆ€VP;_uu_4VP4uuRRR4# +'giR#;i)ú9Return the approximate size of the queue (not reliable!).N©r!Ú_qsizer4s&rÚqsizeÚ Queue.qsizeks €à �Z�Z‹ZØ—;‘;“=÷�Z�Z‹Zús •0° A c ó’€VP;_uu_4VP4'*uuRRR4# +'giR#;i)a¥Return 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. Nr9r4s&rÚemptyÚ Queue.emptyps%€ð�Z�Z‹ZØ—{‘{“}Ô$÷�Z�Z‹Zús •5µ A c óÄ€VP;_uu_4^VPu;8;'dVP48*MuuuRRR4# +'giR#;i)a'Return 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. N)r!rr:r4s&rÚfullÚ Queue.full~s3€ð�Z�Z‹ZØ�t—|‘|×4Ô4 t§{¡{£}Ô4÷�Z�Z‹Zús •.AÁ A Nc óz€VP;_uu_4VP'd\hVP^8”EdV'g'VP 4VP8¼d\ hMíVfUVP 4VP8¼d5VPP 4VP'gKM\hM•V^8d \R4h\4V,pVP 4VP8¼dTV\4, pVR8:d\ hVPP V4VP'gKl\hVPV4V;P^, un VPP4RRR4R# +'giR#;i)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). Raises ShutDown if the queue has been shut down. Nú''timeout' must be a non-negative numberç) r$r'r rr:rr3r-ÚtimeÚ_putr&r#Únotify)r)ÚitemÚblockÚtimeoutÚendtimeÚ remainings&&&& rÚputÚ Queue.put‰s-€ð�]�]‹]Ø××ÐÜ�Ø�|‰|˜aÕߨ—{‘{“}¨¯ © Ô4Ü"˜ ð5à’_ØŸ+™+›-¨4¯<©<Ô7ØŸ ™ ×*Ñ*Ô,Ø×+×+Ò+Ü"*˜Nð8ð˜q”[Ü$Ð%NÓOÐOä"›f wÕ.�GØŸ+™+›-¨4¯<©<Ô7Ø$+¬d«fÕ$4˜ Ø$¨Ô+Ü"&˜JØŸ ™ ×*Ñ*¨9Ô5Ø×+×+Ò+Ü"*˜NØ �I‰I�dŒOØ × !Ò ! QÕ &Õ !Ø �N‰N× !Ñ !Ô #÷3�]�]Š]ús •2F)ÁA2F)Â?BF)ÅA F)Æ) F: c ó~€VP;_uu_4VP'dVP4'g\hV'gVP4'g\hEM VfdVP4'gMVPP 4VP'gKDVP4'dK\\hM¤V^8d \ R4h\4V,pVP4'glV\4, pVR8:d\hVPP V4VP'gKcVP4'dK{\hVP4pVPP4VuuRRR4# +'giR#;i)a6Remove 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). Raises ShutDown if the queue has been shut down and is empty, or if the queue has been shut down immediately. NrDrE) r#r'r:r rr3r-rFÚ_getr$rH)r)rJrKrLrMrIs&&& rÚgetÚ Queue.get±s€ð�^�^‹^Ø××Ш¯ © ¯ ª Ü�ߨ—{‘{—}’}Ü�Kñ%à’ØŸ+™+Ÿ-š-Ø—N‘N×'Ñ'Ô)Ø×'×'Ò'°· ± · ´ Ü&˜ð(ð˜1”Ü Ð!JÓKÐKä›& 7Õ*�ØŸ+™+Ÿ-š-Ø '¬$«&Õ 0�IØ  CÔ'Ü#˜ Ø—N‘N×'Ñ'¨ Ô2Ø×'×'Ò'°· ± · ´ Ü&˜Ø—9‘9“;ˆDØ �M‰M× Ñ Ô "Ø÷1�^�^‹^úsA•(F+¾ F+Á F+Á"!F+Â)F+Â2F+à ?F+Ä AF+ÅF+Å/1F+Æ+ F< c ó(€VPVRR7#)z‘Put an item into the queue without blocking. Only enqueue the item if a free slot is immediately available. Otherwise raise the Full exception. F©rJ©rN©r)rIs&&rÚ put_nowaitÚQueue.put_nowaitÙó€ð �x‰x˜ EˆxÓ*Ð*rc ó&€VPRR7#©z“Remove and return an item from the queue without blocking. Only get an item if one is immediately available. Otherwise raise the Empty exception. FrU©rRr4s&rÚ get_nowaitÚQueue.get_nowaitáó€ð �x‰x˜eˆxÓ$Ð$rc óÊ€VP;_uu_4RVnV'doVP4'd?VP4VP^8”gK9V;P^,unKTVP P 4VPP 4VPP 4RRR4R# +'giR#;i)aªShut-down the queue, making queue gets and puts raise ShutDown. By default, gets will only raise once the queue is empty. Set 'immediate' to True to make gets raise immediately instead. All blocked callers of put() and get() will be unblocked. If 'immediate', the queue is drained and unfinished tasks is reduced by the number of drained tasks. If unfinished tasks is reduced to zero, callers of Queue.join are unblocked. TN) r!r'r:rQr&r%r.r#r$)r)Ú immediates&&rÚshutdownÚQueue.shutdownés‰€ð�Z�Z‹ZØ#ˆDÔ ßØ—k‘k—m’mØ—I‘I”KØ×,Ñ,¨qÖ0Ø×-Ò-°Õ2×-à×#Ñ#×.Ñ.Ô0à �N‰N× %Ñ %Ô 'Ø �M‰M× $Ñ $Ô &÷�Z�ZŠZús•%C»CÁA)Cà C" có$€\4VnR#©N)rÚqueuer(s&&rrÚ Queue._inits €Ü“WˆŽ rcó,€\VP4#rf©Úlenrgr4s&rr:Ú Queue._qsize ó€Ü�4—:‘:‹Ðrcó<€VPPV4R#rf©rgÚappendrWs&&rrGÚ Queue._putó€Ø � ‰ ×ј$Örcó6€VPP4#rf)rgÚpopleftr4s&rrQÚ Queue._gets€Ø�z‰z×!Ñ!Ó#Ð#r)r%r'rr!r#r$rgr&)r©TN)F)rrrrrr*r0r5r;r>rArNrRrXr^rcrr:rGrQÚ classmethodÚtypesÚ GenericAliasÚ__class_getitem__rÚ__classdictcell__©Ú __classdict__s@rr r (sjø‡€ñô !ò4/ò, +ò!ò %ò 5ô&$ôP&òP+ò%ô'ò<òò ò$ñ$ E×$6Ñ$6Ó7Örcó<a€]tRtRtoRtRtRtRtRtRt Vt R#) r iz”Variant of Queue that retrieves open entries in priority order (lowest first). Entries are typically tuples of the form: (priority number, data). có€.VnR#rf©rgr(s&&rrÚPriorityQueue._initó €ØˆŽ rcó,€\VP4#rfrjr4s&rr:ÚPriorityQueue._qsize!rmrcó2€\VPV4R#rf)rrgrWs&&rrGÚPriorityQueue._put$s€Ü�—‘˜TÖ"rcó,€\VP4#rf)rrgr4s&rrQÚPriorityQueue._get's€Ü�t—z‘zÓ"Ð"rr€N© rrrrrrr:rGrQrr{r|s@rr r s#ø‡€ñò òò#÷#ð#rcó<a€]tRtRtoRtRtRtRtRtRt Vt R#) r i+zBVariant of Queue that retrieves most recently added entries first.có€.VnR#rfr€r(s&&rrÚLifoQueue._init.r‚rcó,€\VP4#rfrjr4s&rr:ÚLifoQueue._qsize1rmrcó<€VPPV4R#rfrorWs&&rrGÚLifoQueue._put4rrrcó6€VPP4#rf)rgÚpopr4s&rrQÚLifoQueue._get7s€Ø�z‰z�~‰~ÓÐrr€Nr‰r|s@rr r +s!ø‡€ÙLòòò ÷ ð rcóza€]tRtRtoRtRtR RltR RltRtRt R t R t ] !] P4tR tVtR#) Ú_PySimpleQueuei;zQSimple, unbounded FIFO queue. This pure Python implementation is not reentrant. cóZ€\4Vn\P!^4VnR#)rN)rÚ_queuerÚ SemaphoreÚ_countr4s&rr*Ú_PySimpleQueue.__init__Es€Ü“gˆŒ Ü×)Ò)¨!Ó,ˆŽ rNc óp€VPPV4VPP4R#)z®Put 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)r—rpr™Úrelease)r)rIrJrKs&&&&rrNÚ_PySimpleQueue.putIs&€ð � ‰ ×ј4Ô Ø � ‰ ×ÑÖrc ó°€VeV^8d \R4hVPPW4'g\hVPP 4#)aÇ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). rD)r-r™Úacquirerr—rt)r)rJrKs&&&rrRÚ_PySimpleQueue.getRsI€ð Ò  7¨Q¤;ÜÐFÓGÐ GØ�{‰{×"Ñ" 5×2Ò2܈KØ�{‰{×"Ñ"Ó$Ð$rc ó(€VPVRR7#)z¢Put 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. FrUrVrWs&&rrXÚ_PySimpleQueue.put_nowaitcrZrc ó&€VPRR7#r\r]r4s&rr^Ú_PySimpleQueue.get_nowaitkr`rc ó2€\VP4^8H#)zCReturn True if the queue is empty, False otherwise (not reliable!).©rkr—r4s&rr>Ú_PySimpleQueue.emptyss€ä�4—;‘;Ó 1Ñ$Ð$rc ó,€\VP4#)r8r¦r4s&rr;Ú_PySimpleQueue.qsizews€ä�4—;‘;ÓÐr)r™r—rv)rrrrrr*rNrRrXr^r>r;rwrxryrzrr{r|s@rr•r•;s@ø‡€ñò-ôô%ò"+ò%ò%ò ñ$ E×$6Ñ$6Ó7Örr•)rrr r r r r)rrrxÚ collectionsrÚheapqrrrFrr—rÚ ImportErrorÚ__all__rÚ Exceptionrr r r r r•rrrÚr¯s½ðÙ-ãÛ Ýß#Ý"ðÝ"ò €ð Ýô  ˆ9ô ô 4ˆyô4÷m8ñm8ô`#�Eô#ô&  �ô  ÷ @8ñ@8ðFÒØ ‚Kñøði ôØ‚Kðûð ô ô � ö ð ús" A;«B Á; BÂB BÂB