grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026§ ¬mqBÝUÄãó�—dZddlZddlZddlZddlZddlmZ ddl m Z ddl m ZmZ ddlmZn#e$r ddlmZYnwxYwgd¢ZejZejZejZejZ ejZdZe d ¦«n #e $rd ZYnwxYwej!Z" ej#Z$n #e $rdZ$YnwxYwej%Z%[da&da'd „Z(d „Z)d „Z*d„Z+eZ,d„Z#Gd„d¦«Z-e-Z.Gd„d¦«Z/Gd„d¦«Z0Gd„de0¦«Z1Gd„d¦«Z2Gd„d¦«Z3Gd„de4¦«Z5ed¦«j6Z7d„Z8e#¦«a9iZ:iZ;e ¦«Z<e¦«a=e>¦«a?d „Z@Gd!„d"¦«ZA dd#lmBaCmDZEn)#e$r!dd$lFmGZHdd%lmIZIeId&d'¦«ZDd(„ZEd)„aCYnwxYwt†ZJd*„ZKGd+„d,eA¦«ZLGd-„d.eA¦«ZMGd/„d0eA¦«ZNd1„ZOd2„ZPd3„ZQd4„ZRd5„ZSd6„ZTgZUd aVd7„ZWdd8lmXZXeM¦«aYd9„ZZd:„Z[ dd;lm\Z]n#e$r dd¦«rejae_¬?¦«dSdS)@z;Thread module emulating a subset of Java's threading model.éN)Ú monotonic)ÚWeakSet)ÚisliceÚcount)Údeque)Ú get_identÚ active_countÚ ConditionÚcurrent_threadÚ enumerateÚ main_threadÚ TIMEOUT_MAXÚEventÚLockÚRLockÚ SemaphoreÚBoundedSemaphoreÚThreadÚBarrierÚBrokenBarrierErrorÚTimerÚ ThreadErrorÚ setprofileÚsettraceÚlocalÚ stack_sizeÚ excepthookÚExceptHookArgsÚgettraceÚ getprofileTÚ get_native_idFcó —|adS)z¸Set a profile function for all threads started from the threading module. The func will be passed to sys.setprofile() for each thread, before its run() method is called. N©Ú _profile_hook©Úfuncs ú0/opt/alt/python311/lib64/python3.11/threading.pyrr:s €ð€M€M€Mócó—tS)z;Get the profiler function as set by threading.setprofile().r#©r(r'r r Ds€å Ðr(có —|adS)z´Set a trace function for all threads started from the threading module. The func will be passed to sys.settrace() for each thread, before its run() method is called. N©Ú _trace_hookr%s r'rrHs €ð€K€K€Kr(có—tS)z6Get the trace function as set by threading.settrace().r,r*r(r'rrRs€å Ðr(có@—t€ t|i|¤ŽSt|i|¤ŽS)a2Factory function that returns a new reentrant lock. A reentrant lock must be released by the thread that acquired it. Once a thread has acquired a reentrant lock, the same thread may acquire it again without blocking; the thread must release it once for each time it has acquired it. )Ú_CRLockÚ_PyRLock)ÚargsÚkwargss r'rrZs/€õ€Ý˜Ð( Ð(Ð(Ð(Ý �DÐ #˜FÐ #Ð #Ð#r(cóT—eZdZdZd„Zd„Zd„Zdd„ZeZd„Z d „Z d „Z d „Z d „Z d „ZdS)Ú_RLocka,This class implements reentrant lock objects. A reentrant lock must be released by the thread that acquired it. Once a thread has acquired a reentrant lock, the same thread may acquire it again without blocking; the thread must release it once for each time it has acquired it. cóH—t¦«|_d|_d|_dS©Nr)Ú_allocate_lockÚ_blockÚ_ownerÚ_count©Úselfs r'Ú__init__z_RLock.__init__qs!€Ý$Ñ&Ô&ˆŒ ؈Œ ؈Œ ˆ ˆ r(c ó —|j} t|j}n#t$rYnwxYwd|j ¦«rdnd|jj|jj||j tt|¦«¦«fzS)Nz)<%s %s.%s object owner=%r count=%d at %s>ÚlockedÚunlocked) r:Ú_activeÚnameÚKeyErrorr9r@Ú __class__Ú __module__Ú __qualname__r;ÚhexÚid)r=Úowners r'Ú__repr__z_RLock.__repr__vs�€Ø” ˆð ݘE”NÔ'ˆEˆEøÝð ð ð Ø ˆDð øøøà:Øœ ×*Ò*Ñ,Ô,Ð <ˆHˆH°*Ø ŒNÔ %Ø ŒNÔ 'Ø Ø ŒKÝ •�4‘”‰MŒMð > ñ ð s ‰œ )¨)cóT—|j ¦«d|_d|_dSr7)r9Ú_at_fork_reinitr:r;r<s r'rMz_RLock._at_fork_reinit…s(€Ø Œ ×#Ò#Ñ%Ô%Ð%؈Œ ؈Œ ˆ ˆ r(Téÿÿÿÿcó²—t¦«}|j|kr|xjdz c_dS|j ||¦«}|r||_d|_|S)aAcquire a lock, blocking or non-blocking. When invoked without arguments: if this thread already owns the lock, increment the recursion level by one, and return immediately. Otherwise, if another thread owns the lock, block until the lock is unlocked. Once the lock is unlocked (not owned by any thread), then grab ownership, set the recursion level to one, and return. If more than one thread is blocked waiting until the lock is unlocked, only one at a time will be able to grab ownership of the lock. There is no return value in this case. When invoked with the blocking argument set to true, do the same thing as when called without arguments, and return true. When invoked with the blocking argument set to false, do not block. If a call without an argument would block, return false immediately; otherwise, do the same thing as when called without arguments, and return true. When invoked with the floating-point timeout argument set to a positive value, block for at most the number of seconds specified by timeout and as long as the lock cannot be acquired. Return true if the lock has been acquired, false if the timeout has elapsed. é)rr:r;r9Úacquire)r=ÚblockingÚtimeoutÚmeÚrcs r'rQz_RLock.acquireŠsa€õ4‰[Œ[ˆØ Œ;˜"Ò Ð Ø ˆKŒK˜1Ñ ˆKŒKØ�1Ø Œ[× Ò  ¨7Ñ 3Ô 3ˆØ ð ØˆDŒK؈DŒK؈ r(có¼—|jt¦«krtd¦«‚|jdz x|_}|s"d|_|j ¦«dSdS)amRelease a lock, decrementing the recursion level. If after the decrement it is zero, reset the lock to unlocked (not owned by any thread), and if any other threads are blocked waiting for the lock to become unlocked, allow exactly one of them to proceed. If after the decrement the recursion level is still nonzero, the lock remains locked and owned by the calling thread. Only call this method when the calling thread owns the lock. A RuntimeError is raised if this method is called when the lock is unlocked. There is no return value. úcannot release un-acquired lockrPN)r:rÚ RuntimeErrorr;r9Úrelease)r=rs r'rYz_RLock.release°si€ð Œ;�)™+œ+Ò %Ð %ÝÐ@ÑAÔAÐ AØ"œk¨A™oÐ-ˆŒ �eØð "؈DŒKØ ŒK× Ò Ñ !Ô !Ð !Ð !Ð !ð "ð "r(có.—| ¦«dS©N©rY©r=ÚtÚvÚtbs r'Ú__exit__z_RLock.__exit__Çó€Ø � Š ‰Œˆˆˆr(cóV—|j ¦«|\|_|_dSr[)r9rQr;r:)r=Ústates r'Ú_acquire_restorez_RLock._acquire_restoreÌs(€Ø Œ ×ÒÑÔÐØ#(Ñ ˆŒ �T”[�[�[r(có¨—|jdkrtd¦«‚|j}d|_|j}d|_|j ¦«||fS)NrrW)r;rXr:r9rY)r=rrJs r'Ú _release_savez_RLock._release_saveÐsX€Ø Œ;˜!Ò Ð ÝÐ@ÑAÔAÐ AØ” ˆØˆŒ Ø” ˆØˆŒ Ø Œ ×ÒÑÔÐØ�uˆ~Ðr(có0—|jt¦«kSr[)r:rr<s r'Ú _is_ownedz_RLock._is_ownedÚs€ØŒ{�i™kœkÒ)Ð)r(cóB—|jt¦«krdS|jSr7)r:rr;r<s r'Ú_recursion_countz_RLock._recursion_countßs €Ø Œ;�)™+œ+Ò %Ð %Ø�1ØŒ{Ðr(N©TrN)Ú__name__rFrGÚ__doc__r>rKrMrQÚ __enter__rYrarergrirkr*r(r'r5r5gsÁ€€€€€ðððððð  ð  ð  ðððð "ð"ð"ð"ðH€Ið"ð"ð"ð.ððð )ð)ð)ðððð*ð*ð*ð ððððr(r5cóh—eZdZdZdd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z dd „Z dd „Z dd„Zd„Zd„ZdS)r ajClass that implements a condition variable. A condition variable allows one or more threads to wait until they are notified by another thread. If the lock argument is given and not None, it must be a Lock or RLock object, and it is used as the underlying lock. Otherwise, a new RLock object is created and used as the underlying lock. Ncó>—|€t¦«}||_|j|_|j|_ |j|_n#t $rYnwxYw |j|_n#t $rYnwxYw |j|_n#t $rYnwxYwt¦«|_ dSr[) rÚ_lockrQrYrgÚAttributeErrorreriÚ_dequeÚ_waiters©r=Úlocks r'r>zCondition.__init__ósÎ€Ø ˆ<Ý‘7”7ˆD؈Œ à”|ˆŒ Ø”|ˆŒ ð Ø!%Ô!3ˆDÔ Ð øÝð ð ð Ø ˆDð øøøð Ø$(Ô$9ˆDÔ !Ð !øÝð ð ð Ø ˆDð øøøð Ø!œ^ˆDŒNˆNøÝð ð ð Ø ˆDð øøøå™œˆŒ ˆ ˆ s3± >¾ A Á A Á AÁ A)Á(A)Á- A:Á: BÂBcój—|j ¦«|j ¦«dSr[)rrrMruÚclearr<s r'rMzCondition._at_fork_reinit s0€Ø Œ ×"Ò"Ñ$Ô$Ð$Ø Œ ×ÒÑÔÐÐÐr(có4—|j ¦«Sr[)rrror<s r'rozCondition.__enter__s€ØŒz×#Ò#Ñ%Ô%Ð%r(có —|jj|ŽSr[)rrra)r=r2s r'razCondition.__exit__s€Ø"ˆtŒzÔ" DÐ)Ð)r(có>—d|jt|j¦«fzS)Nz)rrÚlenrur<s r'rKzCondition.__repr__s€Ø$¨¬ µC¸¼ Ñ4FÔ4FÐ'GÑGÐGr(có8—|j ¦«dSr[)rrrYr<s r'rgzCondition._release_saveó€Ø Œ ×ÒÑÔÐÐÐr(có8—|j ¦«dSr[)rrrQ)r=Úxs r'rezCondition._acquire_restorerr(cóp—|j d¦«r|j ¦«dSdS)NFT)rrrQrYr<s r'rizCondition._is_owneds:€ð Œ:× Ò ˜eÑ $Ô $ð Ø ŒJ× Ò Ñ Ô Ð Ø�5à�4r(cóž—| ¦«std¦«‚t¦«}| ¦«|j |¦«| ¦«}d} |€| ¦«d}n2|dkr| d|¦«}n| d¦«}|| |¦«|s, |j |¦«S#t$rYSwxYwS#| |¦«|s, |j |¦«w#t$rYwwxYwwxYw)akWait until notified or until a timeout occurs. If the calling thread has not acquired the lock when this method is called, a RuntimeError is raised. This method releases the underlying lock, and then blocks until it is awakened by a notify() or notify_all() call for the same condition variable in another thread, or until the optional timeout occurs. Once awakened or timed out, it re-acquires the lock and returns. When the timeout argument is present and not None, it should be a floating point number specifying a timeout for the operation in seconds (or fractions thereof). When the underlying lock is an RLock, it is not released using its release() method, since this may not actually unlock the lock when it was acquired multiple times recursively. Instead, an internal interface of the RLock class is used, which really unlocks it even when it has been recursively acquired several times. Another internal interface is then used to restore the recursion level when the lock is reacquired. zcannot wait on un-acquired lockFNTr) rirXr8rQruÚappendrgreÚremoveÚ ValueError)r=rSÚwaiterÚ saved_stateÚgotits r'ÚwaitzCondition.wait's„€ð.�~Š~ÑÔð BÝÐ@ÑAÔAÐ AÝÑ!Ô!ˆØ�ŠÑÔÐØ Œ ×Ò˜VÑ$Ô$Ð$Ø×(Ò(Ñ*Ô*ˆ Øˆð ØˆØ—’Ñ Ô Ð Ø��à˜Q’;�;Ø"ŸNšN¨4°Ñ9Ô9�E�Eà"ŸNšN¨5Ñ1Ô1�EØà × !Ò ! +Ñ .Ô .Ð .Øð ðØ”M×(Ò(¨Ñ0Ô0Ð0Ð0øÝ!ðððØ�Dðøøøð øð × !Ò ! +Ñ .Ô .Ð .Øð ðØ”M×(Ò(¨Ñ0Ô0Ð0Ð0øÝ!ðððØ�Dðøøøð øøøsCÁ7A DÃC6Ã6 DÄDÄE Ä D;Ä:E Ä; EÅE ÅEÅE cóÄ—d}|}|¦«}|sO|�,|€t¦«|z}n|t¦«z }|dkrn!| |¦«|¦«}|¯O|S)zÜWait until a condition evaluates to True. predicate should be a callable which result will be interpreted as a boolean value. A timeout may be provided giving the maximum time to wait. Nr)Ú_timerŠ)r=Ú predicaterSÚendtimeÚwaittimeÚresults r'Úwait_forzCondition.wait_forWs„€ðˆØˆØ�‘”ˆØð !ØÐ#Ø�?Ý#™gœg¨Ñ0�G�Gà&­©¬Ñ0�HØ 1’}�}ØØ �IŠI�hÑ Ô Ð Ø�Y‘[”[ˆFðð !ðˆ r(rPcó:—| ¦«std¦«‚|j}|rj|dkrf|d} | ¦«|dz}n#t$rYnwxYw | |¦«n#t $rYnwxYw|r |dk°bdSdSdSdS)aKWake up one or more threads waiting on this condition, if any. If the calling thread has not acquired the lock when this method is called, a RuntimeError is raised. This method wakes up at most n of the threads waiting for the condition variable; it is a no-op if no threads are waiting. z!cannot notify on un-acquired lockrrPN)rirXrurYr…r†)r=ÚnÚwaitersr‡s r'ÚnotifyzCondition.notifynsô€ð�~Š~ÑÔð DÝÐBÑCÔCÐ CØ”-ˆØð ˜!˜aš%˜%ؘQ”ZˆFð Ø—’Ñ Ô Ð ð�Q‘��øõ ð ð ð ð �ð  øøøð Ø—’˜vÑ&Ô&Ð&Ð&øÝð ð ð Ø�ð øøøðð ˜!˜aš%˜%˜%˜%ð ð ˜%˜%ð ð s#¼AÁ A#Á"A#Á'A=Á= B  B cóT—| t|j¦«¦«dS)z¯Wake up all threads waiting on this condition. If the calling thread has not acquired the lock when this method is called, a RuntimeError is raised. N)r•r}rur<s r'Ú notify_allzCondition.notify_allŒs&€ð � Š •C˜œ Ñ&Ô&Ñ'Ô'Ð'Ð'Ð'r(cóp—ddl}| dtd¬¦«| ¦«dS)zvWake up all threads waiting on this condition. This method is deprecated, use notify_all() instead. rNz3notifyAll() is deprecated, use notify_all() insteadé©Ú stacklevel)ÚwarningsÚwarnÚDeprecationWarningr—©r=rœs r'Ú notifyAllzCondition.notifyAll•sF€ð ˆˆˆØ� Š ÐKÝ(°Qð ñ 8ô 8ð 8à �ŠÑÔÐÐÐr(r[©rP)rmrFrGrnr>rMrorarKrgrerirŠr‘r•r—r r*r(r'r r çsù€€€€€ð ð ð!ð!ð!ð!ð0ððð&ð&ð&ð*ð*ð*ðHðHðHðððððððððð.ð.ð.ð.ð`ðððð.ðððð<(ð(ð(ð ð ð ð ð r(r có:—eZdZdZd d„Zd„Zd d„ZeZd d„Zd „Z dS) raGThis class implements semaphore objects. Semaphores manage a counter representing the number of release() calls minus the number of acquire() calls, plus an initial value. The acquire() method blocks if necessary until it can return without making the counter negative. If not given, value defaults to 1. rPcó~—|dkrtd¦«‚tt¦«¦«|_||_dS)Nrz$semaphore initial value must be >= 0)r†r rÚ_condÚ_value©r=Úvalues r'r>zSemaphore.__init__­s8€Ø �1Š9ˆ9ÝÐCÑDÔDÐ DÝ�t™vœvÑ&Ô&ˆŒ ؈Œ ˆ ˆ r(c óh—|j}d|j›d|j›dt|¦«d›d|j›d� S)Nú<ú.ú at ú#xú: value=ú>)rErFrGrIr¥©r=Úclss r'rKzSemaphore.__repr__³sY€ØŒnˆð)�C”Nð)ð) SÔ%5ð)ð)½2¸d¹8¼8ÐIð)ð)Øœ+ð)ð)ð)ð *r(TNcóX—|s|�td¦«‚d}d}|j5|jdkrV|sne|�,|€t¦«|z}n|t¦«z }|dkrn7|j |¦«|jdk°V|xjdzc_d}ddd¦«n #1swxYwY|S)aÔAcquire a semaphore, decrementing the internal counter by one. When invoked without arguments: if the internal counter is larger than zero on entry, decrement it by one and return immediately. If it is zero on entry, block, waiting until some other thread has called release() to make it larger than zero. This is done with proper interlocking so that if multiple acquire() calls are blocked, release() will wake exactly one of them up. The implementation may pick one at random, so the order in which blocked threads are awakened should not be relied on. There is no return value in this case. When invoked with blocking set to true, do the same thing as when called without arguments, and return true. When invoked with blocking set to false, do not block. If a call without an argument would block, return false immediately; otherwise, do the same thing as when called without arguments, and return true. When invoked with a timeout other than None, it will block for at most timeout seconds. If acquire does not complete successfully in that interval, return false. Return true otherwise. Nz.can't specify timeout for non-blocking acquireFrrPT)r†r¤r¥rŒrŠ)r=rRrSrUrŽs r'rQzSemaphore.acquire¸s€ð0ð O˜GÐ/ÝÐMÑNÔNÐ NØ ˆØˆØ ŒZð ð Ø”+ Ò"Ð"ØðØØÐ&Ø�Ý"'¡'¤'¨GÑ"3˜˜à")­E©G¬GÑ"3˜Ø" aš<˜<Ø!Ø” —’ Ñ(Ô(Ð(ð”+ Ò"Ð"ð� ” ˜qÑ � ” Ø�ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ðˆ sŸA4BÂB#Â&B#cóè—|dkrtd¦«‚|j5|xj|z c_t|¦«D]}|j ¦«Œ ddd¦«dS#1swxYwYdS)zßRelease a semaphore, incrementing the internal counter by one or more. When the counter is zero on entry and another thread is waiting for it to become larger than zero again, wake up that thread. rPún must be one or moreN)r†r¤r¥Úranger•©r=r“Úis r'rYzSemaphore.releaseçsÉ€ð ˆqŠ5ˆ5ÝÐ4Ñ5Ô5Ð 5Ø ŒZð $ð $Ø ˆKŒK˜1Ñ ˆKŒKݘ1‘X”Xð $ð $�Ø” ×!Ò!Ñ#Ô#Ð#Ð#ð $ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $ð $ð $s�rKrQrorYrar*r(r'rr¡s€€€€€€ððððððð *ð*ð*ð +ð+ð+ð+ðZ€Ið $ð $ð $ð $ðððððr(rcó(—eZdZdZdd„Zd„Zdd„ZdS)ra©Implements a bounded semaphore. A bounded semaphore checks to make sure its current value doesn't exceed its initial value. If it does, ValueError is raised. In most situations semaphores are used to guard resources with limited capacity. If the semaphore is released too many times it's a sign of a bug. If not given, value defaults to 1. Like regular semaphores, bounded semaphores manage a counter representing the number of release() calls minus the number of acquire() calls, plus an initial value. The acquire() method blocks if necessary until it can return without making the counter negative. If not given, value defaults to 1. rPcóJ—t ||¦«||_dSr[)rr>Ú_initial_valuer¦s r'r>zBoundedSemaphore.__init__ s&€Ý×Ò˜4 Ñ'Ô'Ð'Ø#ˆÔÐÐr(c óx—|j}d|j›d|j›dt|¦«d›d|j›d|j›d� S)Nr©rªr«r¬r­ú/r®)rErFrGrIr¥rºr¯s r'rKzBoundedSemaphore.__repr__sj€ØŒnˆð?�C”Nð?ð? SÔ%5ð?ð?½2¸d¹8¼8ÐIð?ð?Øœ+ð?ð?Ø(,Ô(;ð?ð?ð?ð @r(có,—|dkrtd¦«‚|j5|j|z|jkrtd¦«‚|xj|z c_t |¦«D]}|j ¦«Œ ddd¦«dS#1swxYwYdS)a>Release a semaphore, incrementing the internal counter by one or more. When the counter is zero on entry and another thread is waiting for it to become larger than zero again, wake up that thread. If the number of releases exceeds the number of acquires, raise a ValueError. rPr³z!Semaphore released too many timesN)r†r¤r¥rºr´r•rµs r'rYzBoundedSemaphore.releasesì€ð ˆqŠ5ˆ5ÝÐ4Ñ5Ô5Ð 5Ø ŒZð $ð $ØŒ{˜Q‰ Ô!4Ò4Ð4Ý Ð!DÑEÔEÐEØ ˆKŒK˜1Ñ ˆKŒKݘ1‘X”Xð $ð $�Ø” ×!Ò!Ñ#Ô#Ð#Ð#ð $ð  $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $ð $ð $s�AB  B ÂB Nr¡)rmrFrGrnr>rKrYr*r(r'rrùsX€€€€€ððð $ð$ð$ð$ð@ð@ð@ð $ð$ð$ð$ð$ð$r(rcóD—eZdZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d d „Z d S) rzòClass implementing event objects. Events manage a flag that can be set to true with the set() method and reset to false with the clear() method. The wait() method blocks until the flag is true. The flag is initially false. cóT—tt¦«¦«|_d|_dS)NF)r rr¤Ú_flagr<s r'r>zEvent.__init__2s €Ý�t™vœvÑ&Ô&ˆŒ ؈Œ ˆ ˆ r(c ót—|j}|jrdnd}d|j›d|j›dt |¦«d›d|›d� S) NÚsetÚunsetr©rªr«r¬z: r®)rErÀrFrGrI)r=r°Ústatuss r'rKzEvent.__repr__6sP€ØŒnˆØœ*Ð1��¨'ˆØR�3”>ÐRÐR CÔ$4ÐRÐR½"¸T¹(¼(ÐRÐRÐRÈÐRÐRÐRÐRr(có8—|j ¦«dSr[)r¤rMr<s r'rMzEvent._at_fork_reinit;s€à Œ ×"Ò"Ñ$Ô$Ð$Ð$Ð$r(có—|jS)z5Return true if and only if the internal flag is true.)rÀr<s r'Úis_setz Event.is_set?s €àŒzÐr(cól—ddl}| dtd¬¦«| ¦«S)zyReturn true if and only if the internal flag is true. This method is deprecated, use is_set() instead. rNz+isSet() is deprecated, use is_set() insteadr™rš)rœr�ržrÇrŸs r'ÚisSetz Event.isSetCs>€ð ˆˆˆØ� Š ÐCÝ(°Qð ñ 8ô 8ð 8à�{Š{‰}Œ}Ðr(có†—|j5d|_|j ¦«ddd¦«dS#1swxYwYdS)z·Set the internal flag to true. All threads waiting for it to become true are awakened. Threads that call wait() once the flag is true will not block at all. TN)r¤rÀr—r<s r'rÂz Event.setNs‹€ðŒZð $ð $؈DŒJØ ŒJ× !Ò !Ñ #Ô #Ð #ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $ð $ð $s ˆ!6¶:½:cóT—|j5d|_ddd¦«dS#1swxYwYdS)zªReset the internal flag to false. Subsequently, threads calling wait() will block until set() is called to set the internal flag to true again. FN)r¤rÀr<s r'ryz Event.clearYsw€ðŒZð ð ØˆDŒJð ð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð s ˆ�!¤!NcóŽ—|j5|j}|s|j |¦«}|cddd¦«S#1swxYwYdS)aHBlock until the internal flag is true. If the internal flag is true on entry, return immediately. Otherwise, block until another thread calls set() to set the flag to true, or until the optional timeout occurs. When the timeout argument is present and not None, it should be a floating point number specifying a timeout for the operation in seconds (or fractions thereof). This method returns the internal flag on exit, so it will always return True except if a timeout is given and the operation times out. N)r¤rÀrŠ)r=rSÚsignaleds r'rŠz Event.waitcs•€ðŒZð ð Ø”zˆHØð 4Øœ:Ÿ?š?¨7Ñ3Ô3�Øð  ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð s ˆ%:º>Á>r[) rmrFrGrnr>rKrMrÇrÉrÂryrŠr*r(r'rr'sž€€€€€ððððððSðSðSð %ð%ð%ðððð ð ð ð $ð $ð $ðððððððððr(rcó”—eZdZdZdd„Zd„Zdd„Zd„Zd„Zd„Z d „Z d „Z d „Z d „Z ed „¦«Zed„¦«Zed„¦«ZdS)rzØImplements a Barrier. Useful for synchronizing a fixed number of threads at known synchronization points. Threads block on 'wait()' and are simultaneously awoken once they have all made that call. NcóŒ—tt¦«¦«|_||_||_||_d|_d|_dS)aWCreate a barrier, initialised to 'parties' threads. 'action' is a callable which, when supplied, will be called by one of the threads after they have all entered the barrier and just prior to releasing them all. If a 'timeout' is provided, it is used as the default for all subsequent 'wait()' calls. rN)r rr¤Ú_actionÚ_timeoutÚ_partiesÚ_stater;)r=ÚpartiesÚactionrSs r'r>zBarrier.__init__�s>€õ�t™vœvÑ&Ô&ˆŒ ؈Œ ؈Œ ؈Œ ؈Œ ؈Œ ˆ ˆ r(c óΗ|j}|jr$d|j›d|j›dt |¦«d›d�Sd|j›d|j›dt |¦«d›d|j›d|j›d� S) Nr©rªr«r¬z : broken>z : waiters=r¼r®)rEÚbrokenrFrGrIÚ n_waitingrÔr¯s r'rKzBarrier.__repr__�s¢€ØŒnˆØ Œ;ð UØT�s”~ÐTÐT¨Ô(8ÐTÐT½bÀ¹h¼hÐTÐTÐTÐTÐ Tð=�C”Nð=ð= SÔ%5ð=ð=½2¸d¹8¼8ÐIð=ð=Ø œNð=ð=Ø-1¬\ð=ð=ð=ð >r(có¼—|€|j}|j5| ¦«|j}|xjdz c_ |dz|jkr| ¦«n| |¦«||xjdzc_| ¦«cddd¦«S#|xjdzc_| ¦«wxYw#1swxYwYdS)aNWait for the barrier. When the specified number of threads have started waiting, they are all simultaneously awoken. If an 'action' was provided for the barrier, one of the threads will have executed that callback prior to returning. Returns an individual index number from 0 to 'parties-1'. NrP)rÑr¤Ú_enterr;rÒÚ_releaseÚ_waitÚ_exit)r=rSÚindexs r'rŠz Barrier.wait¤s€ð ˆ?Ø”mˆGØ ŒZð ð Ø �KŠK‰MŒMˆMØ”KˆEØ ˆKŒK˜1Ñ ˆKŒKð Ø˜1‘9 ¤ Ò-Ð-à—M’M‘O”O�O�Oð—J’J˜wÑ'Ô'Ð'Øà� ” ˜qÑ � ” à— ’ ‘ ” � ð ð ð ð ñ ô ð ð øð� ” ˜qÑ � ” à— ’ ‘ ” � � øøøð ð ð ð øøøð ð ð ð ð ð s(‘,C¾9B(Á7$CÂ(&CÃCÃCÃCcó€—|jdvr"|j ¦«|jdv°"|jdkrt‚dS)N©rNrPr)rÓr¤rŠrr<s r'rÚzBarrier._enterÂsJ€ØŒk˜WÐ$Ð$à ŒJ�OŠOÑ Ô Ð ðŒk˜WÐ$Ð$ð Œ;˜Š?ˆ?Ý$Ð $ð ˆ?r(có²— |jr| ¦«d|_|j ¦«dS#| ¦«‚xYw)NrP)rÐrÓr¤r—Ú_breakr<s r'rÛzBarrier._releaseÍsX€ð ØŒ|ð Ø— ’ ‘”�àˆDŒKØ ŒJ× !Ò !Ñ #Ô #Ð #Ð #Ð #øð à �KŠK‰MŒMˆMØ øøøs ‚;?¿Ac󞇗‰j ˆfd„|¦«s‰ ¦«t‚‰jdkrt‚dS)Ncó•—‰jdkSr7©rÓr<s€r'úzBarrier._wait..Üsø€¨D¬K¸1Ò,<€r(r)r¤r‘rârrÓ©r=rSs` r'rÜz Barrier._waitÛsRø€ØŒz×"Ò"Ð#<Ð#<Ð#<Ð#<¸gÑFÔFð %à �KŠK‰MŒMˆMÝ$Ð $Ø Œ;˜Š?ˆ?Ý$Ð $ð ˆ?r(cóv—|jdkr+|jdvr$d|_|j ¦«dSdSdS)Nrrà)r;rÓr¤r—r<s r'rÝz Barrier._exitæsK€Ø Œ;˜!Ò Ð ØŒ{˜gÐ%Ð%à�” Ø” ×%Ò%Ñ'Ô'Ð'Ð'Ð'ð Ð Ø%Ð%r(cóè—|j5|jdkr&|jdkrd|_n|jdkrd|_nd|_|j ¦«ddd¦«dS#1swxYwYdS)z�Reset the barrier to the initial state. Any threads currently waiting will get the BrokenBarrier exception raised. rrNéþÿÿÿN)r¤r;rÓr—r<s r'Úresetz Barrier.resetísÀðŒZð $ð $ØŒ{˜QŠˆØ”; !Ò#Ð#à"$�D”K�KØ”[ BÒ&Ð&ð#%�D”Køà�” Ø ŒJ× !Ò !Ñ #Ô #Ð #ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $ð $ð $sˆAA'Á'A+Á.A+cón—|j5| ¦«ddd¦«dS#1swxYwYdS)zÃPlace the barrier into a 'broken' state. Useful in case of error. Any currently waiting threads and threads attempting to 'wait()' will have BrokenBarrierError raised. N)r¤râr<s r'Úabortz Barrier.aborts}€ðŒZð ð Ø �KŠK‰MŒMˆMð ð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð ó ˆ*ª.±.cóF—d|_|j ¦«dS)Nrê)rÓr¤r—r<s r'râzBarrier._break s%€ðˆŒ Ø Œ ×ÒÑÔÐÐÐr(có—|jS)z:Return the number of threads required to trip the barrier.)rÒr<s r'rÔzBarrier.partiess €ðŒ}Ðr(có*—|jdkr|jSdS)z>Return the number of threads currently waiting at the barrier.r)rÓr;r<s r'rØzBarrier.n_waitings€ð Œ;˜!Ò Ð Ø”;Р؈qr(có—|jdkS)z0Return True if the barrier is in a broken state.rêrår<s r'r×zBarrier.brokens€ðŒ{˜bÒ Ð r(©NNr[)rmrFrGrnr>rKrŠrÚrÛrÜrÝrërírâÚpropertyrÔrØr×r*r(r'rr„s€€€€€ððððððð >ð>ð>ððððð< ð ð ð ð ð ð ð ð ð(ð(ð(ð$ð$ð$ð(ððð ð ð ð ððñ„Xððððñ„Xððð!ð!ñ„Xð!ð!ð!r(rcó—eZdZdS)rN)rmrFrGr*r(r'rr%s€€€€€Ø€Dr(rrPcó$—|t¦«zSr[)Ú_counter)Ú name_templates r'Ú_newnamerù+s€Ø �8™:œ:Ñ %Ð%r(có\—d„tD¦«}t |¦«dS)a! Drop any shutdown locks that don't correspond to running threads anymore. Calling this from time to time avoids an ever-growing _shutdown_locks set when Thread objects are not joined explicitly. See bpo-37788. This must be called with _shutdown_locks_lock acquired. có:—g|]}| ¦«°|‘ŒSr*)r@)Ú.0rws r'ú z,_maintain_shutdown_locks..Gs%€ÐGÐGÐG˜$¸¿º¹¼ÐG�ÐGÐGÐGr(N)Ú_shutdown_locksÚdifference_update)Ú to_removes r'Ú_maintain_shutdown_locksr=s2€ðHÐG¥/ÐGÑGÔG€IÝ×%Ò% iÑ0Ô0Ð0Ð0Ð0r(có8—eZdZdZdZ d!ddœd„Zd„Zd„Zd „Zd „Z d „Z d „Z e rd „Z d„Zd„Zd„Zd„Zd"d„Zd#d„Zed„¦«Zejd„¦«Zed„¦«Ze r ed„¦«Zd„Zed„¦«Zejd„¦«Zd„Zd„Zd„Zd „ZdS)$raA class that represents a thread of control. This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass. FNr*)Údaemoncó —|€i}|rt|¦«}n3td¦«}|�" |j}|d|›d�z }n#t$rYnwxYw||_||_||_||_|�||_nt¦«j |_d|_ trd|_ d|_t¦«|_d|_d|_t&j|_t-¦«|_t0 |¦«dS)aUThis constructor should always be called with keyword arguments. Arguments are: *group* should be None; reserved for future extension when a ThreadGroup class is implemented. *target* is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called. *name* is the thread name. By default, a unique name is constructed of the form "Thread-N" where N is a small decimal number. *args* is a list or tuple of arguments for the target invocation. Defaults to (). *kwargs* is a dictionary of keyword arguments for the target invocation. Defaults to {}. If a subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything else to the thread. Nz Thread-%dz (ú)FT)ÚstrrùrmrsÚ_targetÚ_nameÚ_argsÚ_kwargsÚ _daemonicr rÚ_identÚ_HAVE_THREAD_NATIVE_IDÚ _native_idÚ _tstate_lockrÚ_startedÚ _is_stoppedÚ _initializedÚ_sysÚstderrÚ_stderrÚ_make_invoke_excepthookÚ_invoke_excepthookÚ _danglingÚadd)r=ÚgroupÚtargetrCr2r3rÚ target_names r'r>zThread.__init__Xs€ð0 ˆ>؈FØ ð Ý�t‘9”9ˆDˆDå˜KÑ(Ô(ˆDØÐ!ðØ"(¤/�KØÐ/ Ð/Ð/Ð/Ñ/�D�DøÝ%ðððØ�DðøøøðˆŒ ØˆŒ ؈Œ ؈Œ Ø Ð Ø#ˆDŒNˆNå+Ñ-Ô-Ô4ˆDŒN؈Œ Ý !ð #Ø"ˆDŒOØ ˆÔÝ™œˆŒ Ø ˆÔØ ˆÔå”{ˆŒ Ý"9Ñ";Ô";ˆÔå� Š �dÑÔÐÐÐs©:º AÁAcóÒ—|j ¦«|r=|j�4|j ¦«|j ¦«dSdSd|_d|_dS©NT)rrMrrQr)r=Úis_alives r'Ú_reset_internal_lockszThread._reset_internal_locks’s{€ð Œ ×%Ò%Ñ'Ô'Ð'Ø ð %ðÔ Ð,ØÔ!×1Ò1Ñ3Ô3Ð3ØÔ!×)Ò)Ñ+Ô+Ð+Ð+Ð+ð-Ð,ð $ˆDÔ Ø $ˆDÔ Ð Ð r(cóì—d}|j ¦«rd}| ¦«|jrd}|jr|dz }|j� |d|jzz }d|jj›d|j›d|›d �S) NÚinitialÚstartedÚstoppedz daemonz %sr©ú(z, z)>) rrÇrrr r rErmr)r=rÄs r'rKzThread.__repr__£s�€àˆØ Œ=× Ò Ñ !Ô !ð ØˆFØ � Š ‰ŒˆØ Ô ð ØˆFØ Œ>ð Ø �iÑ ˆFØ Œ;Ð "Ø �e˜dœkÑ)Ñ )ˆFøØ!%¤Ô!8Ð!8Ð!8¸$¼*¸*¸*ÀfÀfÀfÐMÐMr(có —|jstd¦«‚|j ¦«rtd¦«‚t5|t |<ddd¦«n #1swxYwY t |jd¦«n6#t$r)t5t |=ddd¦«n #1swxYwY‚wxYw|j  ¦«dS)a-Start the thread's activity. It must be called at most once per thread object. It arranges for the object's run() method to be invoked in a separate thread of control. This method will raise a RuntimeError if called more than once on the same thread object. zthread.__init__() not calledz threads can only be started onceNr*) rrXrrÇÚ_active_limbo_lockÚ_limboÚ_start_new_threadÚ _bootstrapÚ ExceptionrŠr<s r'Ústartz Thread.start±s^€ðÔ ð ?ÝÐ=Ñ>Ô>Ð >à Œ=× Ò Ñ !Ô !ð CÝÐAÑBÔBÐ Bå ð ð Ø�F�4‰Lð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð Ý ˜dœo¨rÑ 2Ô 2Ð 2Ð 2øÝð ð ð Ý#ð !ð !ݘ4�Lð !ð !ð !ñ !ô !ð !ð !ð !ð !ð !ð !øøøð !ð !ð !ð !à ð øøøð Œ ×ÒÑÔÐÐÐsBÁ AÁA!Á$A!Á)A?Á?B2 B% B2Â%B) Â)B2Â,B) Â-B2cóf— |j�|j|ji|j¤Ž|`|`|`dS#|`|`|`wxYw)aXMethod representing the thread's activity. You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively. N)rr r r<s r'Úrunz Thread.runËsV€ð 7ØŒ|Ð'Ø�” ˜dœjÐ9¨D¬LÐ9Ð9Ð9ð� ˜d˜j¨$¨,¨,¨,ø�� ˜d˜j¨$¨,Ð 6Ð 6Ð 6Ð 6s‚(¨0có^— | ¦«dS#|jr t€YdS‚xYwr[)Ú_bootstrap_innerr rr<s r'r*zThread._bootstrapÜs@€ð Ø × !Ò !Ñ #Ô #Ð #Ð #Ð #øð ØŒ~ð ¥$ ,Ø��Ø øøøs ‚˜,«,có,—t¦«|_dSr[)rr r<s r'Ú _set_identzThread._set_identðs€Ý‘k”kˆŒ ˆ ˆ r(có,—t¦«|_dSr[)r!rr<s r'Ú_set_native_idzThread._set_native_idôs€Ý+™oœoˆDŒOˆOˆOr(có —t¦«|_|j ¦«|jsOt5t ¦«t  |j¦«ddd¦«dS#1swxYwYdSdS)z” Set a lock object which will be released by the interpreter when the underlying thread state (see pystate.h) gets deleted. N)Ú _set_sentinelrrQrÚ_shutdown_locks_lockrrþrr<s r'Ú_set_tstate_lockzThread._set_tstate_lock÷sÆ€õ *™OœOˆÔØ Ô×!Ò!Ñ#Ô#Ð#àŒ{ð 7Ý%ð 7ð 7Ý(Ñ*Ô*Ð*Ý×#Ò# DÔ$5Ñ6Ô6Ð6ð 7ð 7ð 7ñ 7ô 7ð 7ð 7ð 7ð 7ð 7ð 7ð 7øøøð 7ð 7ð 7ð 7ð 7ð 7ð 7ð 7s».A6Á6A:Á=A:cój— | ¦«| ¦«tr| ¦«|j ¦«t 5|t|j<t|=ddd¦«n #1swxYwYtrtj t¦«trtjt¦« | ¦«n#| |¦«YnxYw| ¦«dS#| ¦«wxYwr[)r2r8r r4rrÂr'rBr r(r-rrr$rr.rÚ_deleter<s r'r0zThread._bootstrap_innersQ€ð Ø �OŠOÑ Ô Ð Ø × !Ò !Ñ #Ô #Ð #Ý%ð &Ø×#Ò#Ñ%Ô%Ð%Ø ŒM× Ò Ñ Ô Ð Ý#ð !ð !Ø'+•˜œ Ñ$ݘ4�Lð !ð !ð !ñ !ô !ð !ð !ð !ð !ð !ð !øøøð !ð !ð !ð !õð +Ý” �kÑ*Ô*Ð*Ýð /Ý”¥ Ñ.Ô.Ð.ð .Ø—’‘ ” � � øð .Ø×'Ò'¨Ñ-Ô-Ð-Ð-Ð-øøøà �LŠL‰NŒNˆNˆNˆNøˆD�LŠL‰NŒNˆNˆNøøøsI‚A#DÁ%B Á= D B  DÂB ÂADÃC*Ã)DÃ*DÄDÄD2có¢—|j}|�d|_d|_|js0t5t ¦«ddd¦«dS#1swxYwYdSdSr)rrrr7rrvs r'Ú_stopz Thread._stops¬€ð"Ô ˆØ Ð àˆÔØ ˆÔØŒ{ð +Ý%ð +ð +å(Ñ*Ô*Ð*ð +ð +ð +ñ +ô +ð +ð +ð +ð +ð +ð +ð +øøøð +ð +ð +ð +ð +ð +ð +ð +s¦AÁAÁ Acón—t5tt¦«=ddd¦«dS#1swxYwYdS)zARemove current thread from the dict of currently running threads.N)r'rBrr<s r'r:zThread._delete6sx€å ð %ð %Ý� ™ œ Ð$ð %ð %ð %ñ %ô %ð %ð %ð %ð %ð %ð %ð %øøøð %ð %ð %ð %ð %ð %rîcó8—|jstd¦«‚|j ¦«std¦«‚|t ¦«urtd¦«‚|€| ¦«dS| t |d¦«¬¦«dS)aWait until the thread terminates. This blocks the calling thread until the thread whose join() method is called terminates -- either normally or through an unhandled exception or until the optional timeout occurs. When the timeout argument is present and not None, it should be a floating point number specifying a timeout for the operation in seconds (or fractions thereof). As join() always returns None, you must call is_alive() after join() to decide whether a timeout happened -- if the thread is still alive, the join() call timed out. When the timeout argument is not present or None, the operation will block until the thread terminates. A thread can be join()ed many times. join() raises a RuntimeError if an attempt is made to join the current thread as that would cause a deadlock. It is also an error to join() a thread before it has been started and attempts to do so raises the same exception. úThread.__init__() not calledz'cannot join thread before it is startedzcannot join current threadNr)rS)rrXrrÇr Ú_wait_for_tstate_lockÚmaxrçs r'Újoinz Thread.join?s¨€ð0Ô ð ?ÝÐ=Ñ>Ô>Ð >ØŒ}×#Ò#Ñ%Ô%ð JÝÐHÑIÔIÐ IØ •>Ñ#Ô#Ð #Ð #ÝÐ;Ñ<Ô<Ð <à ˆ?Ø × &Ò &Ñ (Ô (Ð (Ð (Ð (ð × &Ò &­s°7¸A©¬Ð &Ñ ?Ô ?Ð ?Ð ?Ð ?r(TrNcó"—|j}|€dS | ||¦«r*| ¦«| ¦«dSdS#| ¦«r(| ¦«| ¦«‚xYwr[)rrQrYr<r@)r=ÚblockrSrws r'r@zThread._wait_for_tstate_lockes“€ðÔ ˆØ ˆ<ð ˆFð Ø�|Š|˜E 7Ñ+Ô+ð Ø— ’ ‘”�Ø— ’ ‘ ” � � � ð ð øð Ø�{Š{‰}Œ}ð ð — ’ ‘”�Ø— ’ ‘ ” � Ø øøøs �>AÁ?Bcó—|jS)z¸A string used for identification purposes only. It has no semantics. Multiple threads may be given the same name. The initial name is set by the constructor. )rr<s r'rCz Thread.name€s €ðŒzÐr(có.—t|¦«|_dSr[)rr)r=rCs r'rCz Thread.name‹s€õ˜‘Y”YˆŒ ˆ ˆ r(có—|jS)a4Thread identifier of this thread or None if it has not been started. This is a nonzero integer. See the get_ident() function. Thread identifiers may be recycled when a thread exits and another thread is created. The identifier is available even after the thread has exited. )r r<s r'Úidentz Thread.ident�s €ðŒ{Ðr(có—|jS)zïNative integral thread ID of this thread, or None if it has not been started. This is a non-negative integer. See the get_native_id() function. This represents the Thread ID as reported by the kernel. )rr<s r'Ú native_idzThread.native_id�s €ð”?Ð "r(có€—|js|j ¦«sdS| d¦«|j S)zÛReturn whether the thread is alive. This method returns True just before the run() method starts until just after the run() method terminates. See also the module function enumerate(). F)rrrÇr@r<s r'rzThread.is_alive¨sI€ð Ô ð  4¤=×#7Ò#7Ñ#9Ô#9ð Ø�5Ø ×"Ò" 5Ñ)Ô)Ð)ØÔ#Ð#Ð#r(có—|jS)a¶A boolean value indicating whether this thread is a daemon thread. This must be set before start() is called, otherwise RuntimeError is raised. Its initial value is inherited from the creating thread; the main thread is not a daemon thread and therefore all threads created in the main thread default to daemon = False. The entire Python program exits when only daemon threads are left. )r r<s r'rz Thread.daemon¶s €ðŒ~Ðr(có�—|jstd¦«‚|j ¦«rtd¦«‚||_dS)Nr?z)cannot set daemon status of active thread)rrXrrÇr )r=Údaemonics r'rz Thread.daemonÅsM€àÔ ð ?ÝÐ=Ñ>Ô>Ð >Ø Œ=× Ò Ñ !Ô !ð LÝÐJÑKÔKÐ KØ!ˆŒˆˆr(cóR—ddl}| dtd¬¦«|jS)zwReturn whether this thread is a daemon. This method is deprecated, use the daemon attribute instead. rNz:isDaemon() is deprecated, get the daemon attribute insteadr™rš©rœr�ržrrŸs r'ÚisDaemonzThread.isDaemonÍs8€ð ˆˆˆØ� Š ÐRÝ(°Qð ñ 8ô 8ð 8àŒ{Ðr(cóV—ddl}| dtd¬¦«||_dS)ztSet whether this thread is a daemon. This method is deprecated, use the .daemon property instead. rNz;setDaemon() is deprecated, set the daemon attribute insteadr™ršrP)r=rNrœs r'Ú setDaemonzThread.setDaemonØs;€ð ˆˆˆØ� Š ÐSÝ(°Qð ñ 8ô 8ð 8àˆŒ ˆ ˆ r(cóR—ddl}| dtd¬¦«|jS)z„Return a string used for identification purposes only. This method is deprecated, use the name attribute instead. rNz7getName() is deprecated, get the name attribute insteadr™rš©rœr�ržrCrŸs r'ÚgetNamezThread.getNameãs8€ð ˆˆˆØ� Š ÐOÝ(°Qð ñ 8ô 8ð 8àŒyÐr(cóV—ddl}| dtd¬¦«||_dS)zrSet the name string for this thread. This method is deprecated, use the name attribute instead. rNz7setName() is deprecated, set the name attribute insteadr™ršrU)r=rCrœs r'ÚsetNamezThread.setNameîs;€ð ˆˆˆØ� Š ÐOÝ(°Qð ñ 8ô 8ð 8àˆŒ ˆ ˆ r()NNNr*Nr[rl)rmrFrGrnrr>r rKr,r.r*r2r r4r8r0r<r:rBr@rôrCÚsetterrHrJrrrQrSrVrXr*r(r'rrMs%€€€€€ððð€Là59Ø!%ð8Ø15ð8ð8ð8ð8ð8ðt%ð%ð%ð" Nð Nð Nðððð47ð7ð7ð"ððð("ð"ð"ðð.ð .ð .ð .ð 7ð 7ð 7ðððð.+ð+ð+ð6%ð%ð%ð$@ð$@ð$@ð$@ðLðððð6ððñ„Xðð „[ððñ„[ððð ð ñ„Xð ðð #Ø ð #ð #ñ Œð #ð $ð $ð $ðð ð ñ„Xð ð „]ð"ð"ñ„]ð"ð ð ð ð ð ð ð ð ð ð ð ð ð ð r(r)Ú _excepthookÚ_ExceptHookArgs)Úprint_exception)Ú namedtuplerz'exc_type exc_value exc_traceback threadcó—t|ŽSr[)r[)r2s r'rrs €Ý Ð%Ð%r(cóz—|jtkrdSt�tj� tj}n|j�|jj}|€dSndS|j� |jj}nt¦«}td|›d�|d¬¦«t|j|j |j |¬¦«|  ¦«dS)z9 Handle uncaught Thread.run() exception. NzException in thread ú:T©ÚfileÚflush)rb) Úexc_typeÚ SystemExitrrÚthreadrrCrÚprintÚ_print_exceptionÚ exc_valueÚ exc_tracebackrc)r2rrCs r'rr sÕ€ð Œ=�JÒ &Ð &à ˆFå Ð ¥¤ Ð 7Ý”[ˆFˆFØ Œ[Ð $Ø”[Ô(ˆF؈~ð�ðð ˆFà Œ;Ð "Ø”;Ô#ˆDˆDå‘;”;ˆDÝ Ð, TÐ,Ð,Ð,Ø ð 'ñ 'ô 'ð '嘜¨¬¸Ô8JØ$ð &ñ &ô &ð &à� Š ‰Œˆˆˆr(cóÀ‡‡‡‡‡—tŠtjЉ€td¦«‚‰€td¦«‚tjŠtŠtŠˆˆˆˆˆfd„}|S)Nzthreading.excepthook is Nonezsys.excepthook is NonecóJ•— t}|€‰}tg‰ ¦«¢|‘¦«}||¦«ne#t$rX}d|_~‰�‰j�‰j}n|j}‰d|d¬¦«‰�‰j�‰j}n‰ }|‰ ¦«ŽYd}~nd}~wwxYwd}dS#d}wxYw)NTz"Exception in threading.excepthook:ra)rrr+Ú__suppress_context__rr) rfÚhookr2ÚexcrÚsys_excepthookÚ local_printÚ local_sysÚold_excepthookÚold_sys_excepthookÚ sys_exc_infos €€€€€r'Úinvoke_excepthookz2_make_invoke_excepthook..invoke_excepthook<sø€ð ݈D؈|Ø%�å!Ð"; L L¡N¤NÐ";°FÐ";Ñ<Ô<ˆDà ˆD�‰JŒJˆJˆJøÝð ,ð ,ð ,Ø'+ˆCÔ $ØàÐ$¨Ô)9Ð)EØ"Ô)��àœ�à ˆKÐ<Ø#¨4ð 1ñ 1ô 1ð 1ðÐ$¨Ô)=Ð)IØ!*Ô!5��à!3�à ˆN˜L˜L™NœNÐ +Ð +Ð +Ð +Ð +Ð +Ð +øøøøð# ,øøøð(ˆDˆDˆDø�4ˆDˆKˆKˆKˆKs,ƒ15´Bµ B¿AB BÂBÂBÂB")rrrXÚexc_inforg)rvrqrrrsrtrus @@@@@r'rr,s‡øøøøø€õ  €NÝœÐØÐÝÐ9Ñ:Ô:Ð:ØÐ!ÝÐ3Ñ4Ô4Ð4å”=€LÝ€KÝ€Iðððððððððð@ Ðr(có&—eZdZdZdd„Zd„Zd„ZdS)rzÓCall a function after a specified number of seconds: t = Timer(30.0, f, args=None, kwargs=None) t.start() t.cancel() # stop the timer's action if it's still waiting Ncó¨—t |¦«||_||_|�|ng|_|�|ni|_t ¦«|_dSr[)rr>ÚintervalÚfunctionr2r3rÚfinished)r=rzr{r2r3s r'r>zTimer.__init__jsQ€Ý�Š˜ÑÔÐØ ˆŒ Ø ˆŒ Ø Ð,�D�D°"ˆŒ Ø &Ð 2�f�f¸ˆŒ Ý™œˆŒ ˆ ˆ r(có8—|j ¦«dS)z)Stop the timer if it hasn't finished yet.N)r|rÂr<s r'Úcancelz Timer.cancelrs€à Œ ×ÒÑÔÐÐÐr(cóÖ—|j |j¦«|j ¦«s|j|ji|j¤Ž|j ¦«dSr[)r|rŠrzrÇr{r2r3rÂr<s r'r.z Timer.runvse€Ø Œ ×Ò˜4œ=Ñ)Ô)Ð)ØŒ}×#Ò#Ñ%Ô%ð 5Ø ˆDŒM˜4œ9Ð 4¨¬ Ð 4Ð 4Ð 4Ø Œ ×ÒÑÔÐÐÐr(ró)rmrFrGrnr>r~r.r*r(r'rrasP€€€€€ððð ð ð ð ððððððððr(rcó—eZdZd„ZdS)Ú _MainThreadcóV—t |dd¬¦«| ¦«|j ¦«| ¦«t r| ¦«t5|t|j <ddd¦«dS#1swxYwYdS)NÚ MainThreadF©rCr) rr>r8rrÂr2r r4r'rBr r<s r'r>z_MainThread.__init__�sà€Ý�Š˜ <¸ˆÑ>Ô>Ð>Ø ×ÒÑÔÐØ Œ ×ÒÑÔÐØ �ŠÑÔÐÝ !ð "Ø × Ò Ñ !Ô !Ð !Ý ð (ð (Ø#'�G�D”KÑ ð (ð (ð (ñ (ô (ð (ð (ð (ð (ð (ð (ð (øøøð (ð (ð (ð (ð (ð (sÂBÂB"Â%B"N)rmrFrGr>r*r(r'r�r�s#€€€€€ð(ð(ð(ð(ð(r(r�có(—eZdZd„Zd„Zd„Zdd„ZdS)Ú _DummyThreadcóH—t |td¦«d¬¦«|j ¦«| ¦«t r| ¦«t5|t|j <ddd¦«dS#1swxYwYdS)NzDummy-%dTr„) rr>rùrrÂr2r r4r'rBr r<s r'r>z_DummyThread.__init__–sÖ€Ý�Š˜¥8¨JÑ#7Ô#7ÀˆÑEÔEÐEà Œ ×ÒÑÔÐØ �ŠÑÔÐÝ !ð "Ø × Ò Ñ !Ô !Ð !Ý ð (ð (Ø#'�G�D”KÑ ð (ð (ð (ñ (ô (ð (ð (ð (ð (ð (ð (ð (øøøð (ð (ð (ð (ð (ð (sÁ:BÂBÂBcó—dSr[r*r<s r'r<z_DummyThread._stop s€Ø ˆr(có—dSrr*r<s r'rz_DummyThread.is_alive£s€àˆtr(Ncó—dSr[r*rçs r'rBz_DummyThread.join§s€€€r(r[)rmrFrGr>r<rrBr*r(r'r†r†”sU€€€€€ð(ð(ð(ð ð ð ðððð3ð3ð3ð3ð3ð3r(r†cór— tt¦«S#t$rt¦«cYSwxYw)zïReturn the current Thread object, corresponding to the caller's thread of control. If the caller's thread of control was not created through the threading module, a dummy thread object with limited functionality is returned. )rBrrDr†r*r(r'r r ­sA€ðÝ•y‘{”{Ô#Ð#øÝ ððð݉~Œ~ÐÐÐðøøøs ‚›6µ6có`—ddl}| dtd¬¦«t¦«S)z˜Return the current Thread object, corresponding to the caller's thread of control. This function is deprecated, use current_thread() instead. rNz;currentThread() is deprecated, use current_thread() insteadr™rš)rœr�ržr ©rœs r'Ú currentThreadr޹s<€ð €O€O€OØ ‡M‚MÐOÝ$°ðñ4ô4ð4å Ñ Ô Ðr(có–—t5tt¦«tt¦«zcddd¦«S#1swxYwYdS)z’Return the number of Thread objects currently alive. The returned count is equal to the length of the list returned by enumerate(). N)r'r}rBr(r*r(r'r r Äs‚€õ ð*ð*Ý•7‰|Œ|�c¥&™kœkÑ)ð*ð*ð*ð*ñ*ô*ð*ð*ð*ð*ð*ð*øøøð*ð*ð*ð*ð*ð*sˆ)>¾AÁAcó`—ddl}| dtd¬¦«t¦«S)zxReturn the number of Thread objects currently alive. This function is deprecated, use active_count() instead. rNz7activeCount() is deprecated, use active_count() insteadr™rš)rœr�ržr r�s r'Ú activeCountr‘Îs:€ð €O€O€OØ ‡M‚MÐKÝ$°ðñ4ô4ð4å ‰>Œ>Ðr(cóœ—tt ¦«¦«tt ¦«¦«zSr[)ÚlistrBÚvaluesr(r*r(r'Ú _enumerater•Ùs/€å •—’Ñ Ô Ñ !Ô !¥D­¯ª©¬Ñ$9Ô$9Ñ 9Ð9r(cóÞ—t5tt ¦«¦«tt ¦«¦«zcddd¦«S#1swxYwYdS)zýReturn a list of all Thread objects currently alive. The list includes daemonic threads, dummy thread objects created by current_thread(), and the main thread. It excludes terminated threads and threads that have not yet been started. N)r'r“rBr”r(r*r(r'r r Ýs˜€õ ð>ð>Ý•G—N’NÑ$Ô$Ñ%Ô%­­V¯]ª]©_¬_Ñ(=Ô(=Ñ=ð>ð>ð>ð>ñ>ô>ð>ð>ð>ð>ð>ð>øøøð>ð>ð>ð>ð>ð>sˆA A"Á"A&Á)A&có�—trtd¦«‚tj|g|¢Ri|¤Ž}t |¦«dS)a®CPython internal: register *func* to be called before joining threads. The registered *func* is called with its arguments just before all non-daemon threads are joined in `_shutdown()`. It provides a similar purpose to `atexit.register()`, but its functions are called prior to threading shutdown instead of interpreter shutdown. For similarity to atexit, the registered functions are called in reverse. z$can't register atexit after shutdownN)Ú_SHUTTING_DOWNrXÚ functoolsÚpartialÚ_threading_atexitsr„)r&Úargr3Úcalls r'Ú_register_atexitržìsV€õðCÝÐAÑBÔBÐBå Ô ˜TÐ 2 CÐ 2Ð 2Ð 2¨6Ð 2Ð 2€DÝ×Ò˜dÑ#Ô#Ð#Ð#Ð#r()rcó—tjrdSdatt¦«D] }|¦«Œ tjt ¦«kr:tj}| ¦«t  ¦«n t5tt¦«}t  ¦«ddd¦«n #1swxYwY|sdS|D]*}| ¦«| ¦«Œ+Œ~)zS Wait until the Python thread state of all non-daemon threads get deleted. NT)Ú _main_threadrr˜Úreversedr›rHrrrYr<r7r“rþryrQ)Ú atexit_callÚtlockÚlocksrws r'Ú _shutdownr¥sE€õÔðàˆð€Nõ Õ 2Ñ3Ô3ððˆ Øˆ ‰ Œ ˆ ˆ õÔ�Y™[œ[Ò(Ð(ÝÔ)ˆð � Š ‰ŒˆÝ×ÒÑÔÐÐð ð Ý !ð $ð $Ý�Ñ)Ô)ˆEÝ × !Ò !Ñ #Ô #Ð #ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $ðð Ø ˆEàð ð ˆDà �LŠL‰NŒNˆNØ �LŠL‰NŒNˆNˆNð sÂ.C à CÃCcó—tS)z�Return the main thread object. In normal conditions, the main thread is the thread from which the Python interpreter was started. )r r*r(r'r r =s €õ Ðr()Ú_local)rcó`—t¦«ai} tt¦«}n#t$rt ¦«}YnwxYw|at¦«at¦«a t5tt¦«¦«}|  t¦«|D]¢}||urs| d¦«t¦«}t|t ¦«r.t |_d|_d|_| ¦«||_|||<Œy| d¦«| ¦«Œ£t. ¦«t ¦«t  |¦«ddd¦«dS#1swxYwYdS)zL Cleanup threading module state that should not exist after a fork. TrƒFN)rr'rBrrDr�r r8r7rÂrþr•Úupdaterr Ú isinstancer†rErr r8r r<r(ry)Ú new_activeÚcurrentÚthreadsrfrHs r'Ú _after_forkr®NsÜ€õ™œÐð€Jð Ý�)™+œ+Ô&ˆˆøÝ ð ð ð õ‘-”-ˆˆˆð  øøøð €Lõ*Ñ+Ô+ÐÝ‘e”e€Oå ð!ð!õ•j‘l”lÑ#Ô#ˆØ�Š•yÑ!Ô!Ð!Øð ð ˆFð˜Ð Ð ð×,Ò,¨TÑ2Ô2Ð2Ý!™ œ �ݘf¥lÑ3Ô3ð.Ý'2�FÔ$Ø#/�F”LØ',�FÔ$Ø×+Ò+Ñ-Ô-Ð-Ø %�” Ø$*� ˜5Ñ!Ð!ð×,Ò,¨UÑ3Ô3Ð3Ø— ’ ‘”��å� Š ‰ŒˆÝ� Š ‰ŒˆÝ�Š�zÑ"Ô"Ð"ð7!ð!ð!ñ!ô!ð!ð!ð!ð!ð!ð!ð!øøøð!ð!ð!ð!ð!ð!s"’,¬AÁAÁ/D'F#Æ#F'Æ*F'Úregister_at_fork)Úafter_in_child)brnÚosÚ_osÚsysrÚ_threadr™ÚtimerrŒÚ _weakrefsetrÚ itertoolsrÚ_islicerr;Ú _collectionsrrtÚ ImportErrorÚ collectionsÚ__all__Ústart_new_threadr)Ú allocate_lockr8r6rr!r r„rsÚerrorrrr0rr$r-rr rrrr5r1r rrrrrXrÚ__next__r÷rùr'rBr(rr7rÂrþrrrZrr[rÚ tracebackr\rhr]Ú__excepthook__rrr�r†r rŽr r‘r•r r›r˜ržrr r¥r r§rÚ_threading_localr®Úhasattrr¯r*r(r'úrÅsoðØAÐAàÐÐÐØÐÐÐØ€€€ØÐÐÐà#Ð#Ð#Ð#Ð#Ð#ØÐÐÐÐÐØ8Ð8Ð8Ð8Ð8Ð8Ð8Ð8ð,Ø,Ð,Ð,Ð,Ð,Ð,Ð,øØð,ð,ð,Ø+Ð+Ð+Ð+Ð+Ð+Ð+Ð+ð,øøøð Eð Eð E€ðÔ,ÐØÔ&€ØÔ%€ Ø Ô € ð#ØÔ)€MØ!ÐØ ‡N‚N�?Ñ#Ô#Ð#Ð#øØð#ð#ð#Ø"ÐÐÐð#øøøàŒm€ ðØŒm€G€GøØðððØ€G€G€GðøøøàÔ!€ Ø ð € Ø€ ððððððððððððð €ð $ð $ð $ð{ð{ð{ð{ð{ñ{ô{ð{ðz €ðwðwðwðwðwñwôwðwðtUðUðUðUðUñUôUðUðp+$ð+$ð+$ð+$ð+$�yñ+$ô+$ð+$ð\OðOðOðOðOñOôOðOðz^!ð^!ð^!ð^!ð^!ñ^!ô^!ð^!ðB ð ð ð ð ˜ñ ô ð ð ˆ6�!‰9Œ9Ô €ð&ð&ð&ð�U‘W”WÐØ €Ø €Ø ˆG‰IŒI€ ð &�~Ñ'Ô'ÐØ�#‘%”%€ð 1ð 1ð 1ð jðjðjðjðjñjôjðjðZ +ð<ð<ð<ð<ð<ð<ð<ð<ð<øàð(ð(ð(à=Ð=Ð=Ð=Ð=Ð=Ø&Ð&Ð&Ð&Ð&Ð&à �jØØ1ñ3ô3€Oð&ð&ð&ðððððð(øøøõX€ð0ð0ð0ðjððððˆFñôðð< (ð (ð (ð (ð (�&ñ (ô (ð (ð*3ð3ð3ð3ð3�6ñ3ô3ð3ð2 ð ð ð ð ð ð*ð*ð*ð ð ð ð:ð:ð:ð >ð >ð >ðÐØ€ð$ð$ð$ð"ÐÐÐÐÐð ˆ{‰}Œ}€ ð2ð2ð2ðpððð'Ø'Ð'Ð'Ð'Ð'Ð'Ð'øØð'ð'ð'Ø&Ð&Ð&Ð&Ð&Ð&Ð&Ð&ð'øøøð7!ð7!ð7!ðt €7ˆ3Ð"Ñ#Ô#ð5Ø€CÔ¨ Ð4Ñ4Ô4Ð4Ð4Ð4ð5ð5sT¨/¯ =¼=Á!BÂB  B ÂBÂB'Â&B'Å6E?Å?#F%Æ$F%È HÈ H!È H!