/opt/alt/python-internal/lib64/python3.11/concurrent/futures/__pycache__
NameSizeModeActions
process.cpython-311.opt-1.pyc378070644editdlrm
process.cpython-311.opt-2.pyc319830644editdlrm
process.cpython-311.pyc381130644editdlrm
thread.cpython-311.opt-1.pyc110920644editdlrm
thread.cpython-311.opt-2.pyc105440644editdlrm
thread.cpython-311.pyc110920644editdlrm
_base.cpython-311.opt-1.pyc372720644editdlrm
_base.cpython-311.opt-2.pyc293930644editdlrm
_base.cpython-311.pyc372720644editdlrm
__init__.cpython-311.opt-1.pyc14790644editdlrm
__init__.cpython-311.opt-2.pyc14040644editdlrm
__init__.cpython-311.pyc14790644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/concurrent/futures/__pycache__/process.cpython-311.pyc (38113B)
§ .¸µ_¥B/$ãó:—dZdZddlZddlmZddlZddlZddlZddl m Z ddl Z ddl Z ddl mZddlZddlZddlmZe j¦«ZdaGd „d ¦«Zd „Ze je¦«d Zd ZGd„de¦«ZGd„d¦«Zd„ZGd„de¦«Z Gd„de¦«Z!Gd„de¦«Z"Gd„de ¦«Z#d„Z$d„Z% d'd„Z&d(d„Z'Gd„d e j(¦«Z)da*da+d!„Z,d"„Z-Gd#„d$ej.¦«Z/Gd%„d&ej0¦«Z1dS))a- Implements ProcessPoolExecutor. The following diagram and text describe the data-flow through the system: |======================= In-process =====================|== Out-of-process ==| +----------+ +----------+ +--------+ +-----------+ +---------+ | | => | Work Ids | | | | Call Q | | Process | | | +----------+ | | +-----------+ | Pool | | | | ... | | | | ... | +---------+ | | | 6 | => | | => | 5, call() | => | | | | | 7 | | | | ... | | | | Process | | ... | | Local | +-----------+ | Process | | Pool | +----------+ | Worker | | #1..n | | Executor | | Thread | | | | | +----------- + | | +-----------+ | | | | <=> | Work Items | <=> | | <= | Result Q | <= | | | | +------------+ | | +-----------+ | | | | | 6: call() | | | | ... | | | | | | future | | | | 4, result | | | | | | ... | | | | 3, except | | | +----------+ +------------+ +--------+ +-----------+ +---------+ Executor.submit() called: - creates a uniquely numbered _WorkItem and adds it to the "Work Items" dict - adds the id of the _WorkItem to the "Work Ids" queue Local worker thread: - reads work ids from the "Work Ids" queue and looks up the corresponding WorkItem from the "Work Items" dict: if the work item has been cancelled then it is simply removed from the dict, otherwise it is repackaged as a _CallItem and put in the "Call Q". New _CallItems are put in the "Call Q" until "Call Q" is full. NOTE: the size of the "Call Q" is kept small because calls placed in the "Call Q" can no longer be cancelled with Future.cancel(). - reads _ResultItems from "Result Q", updates the future stored in the "Work Items" dict and deletes the dict entry Process #1..n: - reads _CallItems from "Call Q", executes the calls, and puts the resulting _ResultItems in "Result Q" z"Brian Quinlan (brian@sweetapp.com)éN)Ú_base)ÚQueue)Úpartial)Úformat_exceptionFcó&—eZdZd„Zd„Zd„Zd„ZdS)Ú _ThreadWakeupcóX—d|_tjd¬¦«\|_|_dS)NF)Úduplex)Ú_closedÚmpÚPipeÚ_readerÚ_writer©Úselfs úG/opt/alt/python-internal/lib64/python3.11/concurrent/futures/process.pyÚ__init__z_ThreadWakeup.__init__Cs(€ØˆŒ Ý%'¤W°EÐ%:Ñ%:Ô%:Ñ"ˆŒ �d”l�l�lócóŠ—|js;d|_|j ¦«|j ¦«dSdS©NT)r rÚcloserrs rrz_ThreadWakeup.closeGsM€ð Œ|ð !؈DŒLØ ŒL× Ò Ñ Ô Ð Ø ŒL× Ò Ñ Ô Ð Ð Ð ð !ð !rcóL—|js|j d¦«dSdS)Nr)r rÚ send_bytesrs rÚwakeupz_ThreadWakeup.wakeupRs2€ØŒ|ð )Ø ŒL× #Ò # CÑ (Ô (Ð (Ð (Ð (ð )ð )rcó²—|jsM|j ¦«r6|j ¦«|j ¦«°2dSdSdS©N)r rÚpollÚ recv_bytesrs rÚclearz_ThreadWakeup.clearVsl€ØŒ|ð *Ø”,×#Ò#Ñ%Ô%ð *Ø” ×'Ò'Ñ)Ô)Ð)ð”,×#Ò#Ñ%Ô%ð *ð *ð *ð *ð *ð *ð *rN)Ú__name__Ú __module__Ú __qualname__rrrr©rrrrBsP€€€€€ð;ð;ð;ð !ð !ð !ð)ð)ð)ð*ð*ð*ð*ð*rrcóÆ—datt ¦«¦«}|D]\}}| ¦«Œ|D]\}}| ¦«ŒdSr)Ú_global_shutdownÚlistÚ_threads_wakeupsÚitemsrÚjoin)r(Ú_Ú thread_wakeupÚts rÚ _python_exitr-\sw€àÐÝ Õ!×'Ò'Ñ)Ô)Ñ *Ô *€EØ!ððшˆ=à×ÒÑÔÐÐØðð‰ˆˆ1Ø �ЉŒˆˆððréé=có—eZdZd„Zd„ZdS)Ú_RemoteTracebackcó—||_dSr©Útb)rr4s rrz_RemoteTraceback.__init__|s €ØˆŒˆˆrcó—|jSrr3rs rÚ__str__z_RemoteTraceback.__str__~s €ØŒwˆrN)r r!r"rr6r#rrr1r1{s2€€€€€ððððððððrr1có—eZdZd„Zd„ZdS)Ú_ExceptionWithTracebackcó¢—d tt|¦«||¦«¦«}||_d|j_d|z|_dS)NÚz """ %s""")r)rÚtypeÚexcÚ __traceback__r4)rr<r4s rrz _ExceptionWithTraceback.__init__‚sI€Ø �WŠWÕ%¥d¨3¡i¤i°°bÑ9Ô9Ñ :Ô :ˆØˆŒð"&ˆŒÔØ  2Ñ%ˆŒˆˆrcó,—t|j|jffSr)Ú _rebuild_excr<r4rs rÚ __reduce__z"_ExceptionWithTraceback.__reduce__‰s€Ý˜dœh¨¬Ð0Ð0Ð0rN)r r!r"rr@r#rrr8r8�s2€€€€€ð&ð&ð&ð1ð1ð1ð1ð1rr8có.—t|¦«|_|Sr)r1Ú __cause__)r<r4s rr?r?Œs€Ý$ RÑ(Ô(€C„MØ €Jrcó—eZdZd„ZdS)Ú _WorkItemcó>—||_||_||_||_dSr)ÚfutureÚfnÚargsÚkwargs)rrFrGrHrIs rrz_WorkItem.__init__‘s"€ØˆŒ ؈ŒØˆŒ ؈Œ ˆ ˆ rN©r r!r"rr#rrrDrD�ó#€€€€€ðððððrrDcó—eZdZdd„ZdS)Ú _ResultItemNcó>—||_||_||_||_dSr)Úwork_idÚ exceptionÚresultÚexit_pid)rrOrPrQrRs rrz_ResultItem.__init__˜s"€ØˆŒ Ø"ˆŒØˆŒ Ø ˆŒ ˆ ˆ r©NNNrJr#rrrMrM—s(€€€€€ð!ð!ð!ð!ð!ð!rrMcó—eZdZd„ZdS)Ú _CallItemcó>—||_||_||_||_dSr)rOrGrHrI)rrOrGrHrIs rrz_CallItem.__init__Ÿs"€ØˆŒ ؈ŒØˆŒ ؈Œ ˆ ˆ rNrJr#rrrUrUžrKrrUcó.‡—eZdZdZdˆfd„ Zˆfd„ZˆxZS)Ú _SafeQueuez=Safe Queue set exception to the future object linked to a jobrcóx•—||_||_||_t¦« ||¬¦«dS)N)Úctx)Úpending_work_itemsÚ shutdown_lockr+Úsuperr)rÚmax_sizerZr[r\r+Ú __class__s €rrz_SafeQueue.__init__¨s>ø€à"4ˆÔØ*ˆÔØ*ˆÔÝ ‰Œ×Ò˜ sÐÑ+Ô+Ð+Ð+Ð+rcó •—t|t¦«rÕtt|¦«||j¦«}t d d |¦«¦«¦«|_|j   |j d¦«}|j 5|j  ¦«ddd¦«n #1swxYwY|�|j |¦«dSdSt#¦« ||¦«dS)Nz """ {}"""r:)Ú isinstancerUrr;r=r1Úformatr)rBr[ÚpoprOr\r+rrFÚ set_exceptionr]Ú_on_queue_feeder_error)rÚeÚobjr4Ú work_itemr_s €rrez!_SafeQueue._on_queue_feeder_error¯s1ø€Ý �c�9Ñ %Ô %ð 3Ý!¥$ q¡'¤'¨1¨a¬oÑ>Ô>ˆBÝ*¨>×+@Ò+@ÀÇÂÈÁÄÑ+MÔ+MÑNÔNˆAŒKØÔ/×3Ò3°C´KÀÑFÔFˆIØÔ#ð ,ð ,ØÔ"×)Ò)Ñ+Ô+Ð+ð ,ð ,ð ,ñ ,ô ,ð ,ð ,ð ,ð ,ð ,ð ,øøøð ,ð ,ð ,ð ,ð Ð$ØÔ ×.Ò.¨qÑ1Ô1Ð1Ð1Ð1ð%Ð$õ ‰GŒG× *Ò *¨1¨cÑ 2Ô 2Ð 2Ð 2Ð 2sÂCÃCÃC)r)r r!r"Ú__doc__rreÚ __classcell__©r_s@rrXrX¦s\ø€€€€€ØGÐGð,ð,ð,ð,ð,ð,ð 3ð 3ð 3ð 3ð 3ð 3ð 3ð 3ð 3rrXc'ópK—t|Ž} ttj||¦«¦«}|sdS|V—Œ+)z, Iterates over zip()ed iterables in chunks. TN)ÚzipÚtupleÚ itertoolsÚislice)Ú chunksizeÚ iterablesÚitÚchunks rÚ _get_chunksru¿sIèè€å ˆiˆ€BðÝ•iÔ& r¨9Ñ5Ô5Ñ6Ô6ˆØð Ø ˆF؈ ˆ ˆ ð rcó ‡—ˆfd„|D¦«S)z¼ Processes a chunk of an iterable passed to map. Runs the function passed to map() on a chunk of the iterable passed to map. This function is run in a separate process. có•—g|]}‰|Ž‘ŒSr#r#)Ú.0rHrGs €rú z"_process_chunk..Òsø€Ð (Ð (Ð (˜$ˆBˆB�ˆIÐ (Ð (Ð (rr#)rGrts` rÚ_process_chunkrzÉsø€ð )Ð (Ð (Ð ( %Ð (Ñ (Ô (Ð(rcóø— | t||||¬¦«¦«dS#t$rE}t||j¦«}| t|||¬¦«¦«Yd}~dSd}~wwxYw)z.Safely send back the given result or exception)rQrPrR©rPrRN)ÚputrMÚ BaseExceptionr8r=)Ú result_queuerOrQrPrRrfr<s rÚ_sendback_resultr€ÕsÉ€ð9Ø×Ò� W°VØ/8À8ðMñMôMñ Nô Nð Nð Nð Nøå ð9ð9ð9Ý% a¨¬Ñ9Ô9ˆØ×Ò� W¸Ø.6ð8ñ8ô8ñ 9ô 9ð 9ð 9ð 9ð 9ð 9ð 9ð 9øøøøð9øøøs‚&*ª A9´:A4Á4A9có:—|�9 ||Žn2#t$r%tj dd¬¦«YdSwxYwd}d} | d¬¦«}|€(| t j¦«¦«dS|�|dz }||krt j¦«} |j|j i|j ¤Ž}t||j ||¬¦«~nD#t$r7} t| | j¦«} t||j | |¬ ¦«Yd} ~ nd} ~ wwxYw~|�dSŒÜ) a¼Evaluates calls from call_queue and places the results in result_queue. This worker is run in a separate process. Args: call_queue: A ctx.Queue of _CallItems that will be read and evaluated by the worker. result_queue: A ctx.Queue of _ResultItems that will written to by the worker. initializer: A callable initializer, or None initargs: A tuple of args for the initializer NzException in initializer:T)Úexc_infor©Úblockr.)rQrRr|)r~rÚLOGGERÚcriticalÚgetr}ÚosÚgetpidrGrHrIr€rOr8r=) Ú call_queuerÚ initializerÚinitargsÚ max_tasksÚ num_tasksrRÚ call_itemÚrrfr<s rÚ_process_workerr‘ásš€ðÐð Ø ˆK˜Ð "Ð "Ð "øÝð ð ð Ý ŒL× !Ò !Ð"=ÈÐ !Ñ MÔ MÐ Mð ˆFˆFð  øøøð €IØ€HðØ—N’N¨�NÑ.Ô.ˆ Ø Ð à × Ò �RœY™[œ[Ñ )Ô )Ð )Ø ˆFà Ð Ø ˜‰NˆIؘIÒ%Ð%Ýœ9™;œ;�ð Ø� ” ˜iœnÐA° Ô0@ÐAÐAˆAõ ˜\¨9Ô+<ÀQØ&.ð 0ñ 0ô 0ð 0à�øõð 0ð 0ð 0Ý)¨!¨Q¬_Ñ=Ô=ˆCÝ ˜\¨9Ô+<ÈØ&.ð 0ñ 0ô 0ð 0ð 0ð 0ð 0ð 0ð 0øøøøð 0øøøð à Ð Ø ˆFð9s$„ Š+9¸9Â"Cà DÃ-DÄDcó^‡—eZdZdZˆfd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „ZˆxZS) Ú_ExecutorManagerThreadatManages the communication between this process and the worker processes. The manager is run in a local thread. Args: executor: A reference to the ProcessPoolExecutor that owns this thread. A weakref will be own by the manager as well as references to internal objects used to introspect the state of the executor. có\•—|j|_|j|_|j|jfd„}t j||¦«|_|j|_|j |_ |j |_ |j |_|j|_|j|_t'¦« ¦«dS)Ncó¢—tj d¦«|5| ¦«ddd¦«dS#1swxYwYdS)Nz?Executor collected: triggering callback for QueueManager wakeup)r ÚutilÚdebugr)r*r+r\s rÚ weakref_cbz3_ExecutorManagerThread.__init__..weakref_cb1s�€õ ŒG�MŠMð1ñ 2ô 2ð 2àð 'ð 'Ø×$Ò$Ñ&Ô&Ð&ð 'ð 'ð 'ñ 'ô 'ð 'ð 'ð 'ð 'ð 'ð 'ð 'øøøð 'ð 'ð 'ð 'ð 'ð 's¢AÁAÁ A)Ú_executor_manager_thread_wakeupr+Ú_shutdown_lockr\ÚweakrefÚrefÚexecutor_referenceÚ _processesÚ processesÚ _call_queuerŠÚ _result_queuerÚ _work_idsÚwork_ids_queueÚ_max_tasks_per_childÚmax_tasks_per_childÚ_pending_work_itemsr[r]r)rÚexecutorr˜r_s €rrz_ExecutorManagerThread.__init__#s»ø€ð &ÔEˆÔØ%Ô4ˆÔð&*Ô%7Ø%)Ô%7ð 'ð 'ð 'ð 'õ#*¤+¨h¸ Ñ"CÔ"CˆÔð"Ô,ˆŒð#Ô.ˆŒð%Ô2ˆÔð'Ô0ˆÔð$,Ô#@ˆÔ ð#+Ô">ˆÔå ‰Œ×ÒÑÔÐÐÐrcó¼— | ¦«| ¦«\}}}|r| |¦«dS|�º| |¦«|jdu}|r3|j |j¦«}| ¦«~| ¦«x}rP|r4|j 5|  ¦«ddd¦«n #1swxYwYn|j   ¦«~|  ¦«rE| ¦«| ¦«|js| ¦«dS�Œ\r)Úadd_call_item_to_queueÚwait_result_broken_or_wakeupÚterminate_brokenÚprocess_result_itemrRrŸrcr)r�r\Ú_adjust_process_countÚ_idle_worker_semaphoreÚreleaseÚis_shutting_downÚflag_executor_shutting_downr[Újoin_executor_internals)rÚ result_itemÚ is_brokenÚcauseÚprocess_exitedÚpr§s rÚrunz_ExecutorManagerThread.runRs¼€ð( Ø × 'Ò 'Ñ )Ô )Ð )à,0×,MÒ,MÑ,OÔ,OÑ )ˆK˜ Eàð Ø×%Ò% eÑ,Ô,Ð,Ø�ØÐ&Ø×(Ò(¨Ñ5Ô5Ð5à!,Ô!5¸TÐ!A�Ø!ðØœ×*Ò*¨;Ô+?Ñ@Ô@�AØ—F’F‘H”H�Hð à#×6Ò6Ñ8Ô8Ð8�8ð!Ø%ðBØ!Ô/ð=ð=Ø$×:Ò:Ñ<Ô<Ð<ð=ð=ð=ñ=ô=ð=ð=ð=ð=ð=ð=øøøð=ð=ð=ð=øð!Ô7×?Ò?ÑAÔAÐAØ à×$Ò$Ñ&Ô&ð Ø×0Ò0Ñ2Ô2Ð2ð ×+Ò+Ñ-Ô-Ð-ðÔ.ðØ×0Ò0Ñ2Ô2Ð2Ø�FñQ( sÂ<CÃC!Ã$C!cóv— |j ¦«rdS |j d¬¦«}|j|}|j ¦«r<|j t||j |j |j ¦«d¬¦«n|j|=Œ£#tj $rYdSwxYwŒ¹)NTFrƒ)rŠÚfullr£r‡r[rFÚset_running_or_notify_cancelr}rUrGrHrIÚqueueÚEmpty)rrOrhs rr©z-_ExecutorManagerThread.add_call_item_to_queuesê€ð ØŒ×#Ò#Ñ%Ô%ð Ø�ð ØÔ-×1Ò1¸Ð1Ñ>Ô>�ð!Ô3°GÔ<� àÔ#×@Ò@ÑBÔBðØ”O×'Ò'­ °'Ø2;´,Ø2;´.Ø2;Ô2Bñ)Dô)Dð/3ð (ñ4ô4ð4ð4ð Ô/°Ð8Øøõ”;ð ð ð Ø��ð øøøð  sžB$Â$B7Â6B7cóú—|jj}|jjrJ‚|jj}||g}d„t |j ¦«¦«D¦«}tj  ||z¦«}d}d}d}||vrR |  ¦«}d}n@#t$r-} tt| ¦«| | j¦«}Yd} ~ nd} ~ wwxYw||vrd}|j ¦«|||fS)Ncó—g|] }|j‘Œ Sr#)Úsentinel©rxr·s rryzG_ExecutorManagerThread.wait_result_broken_or_wakeup.. s€ÐNÐNÐN¨1˜AœJÐNÐNÐNrTF)rrr+r r&rŸÚvaluesr Ú connectionÚwaitÚrecvr~rr;r=r) rÚ result_readerÚ wakeup_readerÚreadersÚworker_sentinelsÚreadyrµr´r³rfs rrªz3_ExecutorManagerThread.wait_result_broken_or_wakeup–s/€ð Ô)Ô1ˆ ØÔ%Ô-Ð-Ð-Ð-ØÔ*Ô2ˆ Ø  -Ð0ˆØNÐNµ°T´^×5JÒ5JÑ5LÔ5LÑ0MÔ0MÐNÑNÔNÐÝ” ×"Ò" 7Ð-=Ñ#=Ñ>Ô>ˆàˆØˆ ؈ Ø ˜EÐ !Ð !ð FØ+×0Ò0Ñ2Ô2� Ø!� � øÝ ð Fð Fð FÝ(­¨a©¬°!°Q´_ÑEÔE������øøøøð Føøøð˜eÐ #Ð #؈Ið Ô× Ò Ñ"Ô"Ð"à˜I uÐ,Ð,sÂB CÂ)#CÃCcóÌ—t|t¦«rc| ¦«sJ‚|j |¦«}| ¦«|js| ¦«dSdS|j |jd¦«}|�I|j r!|j   |j ¦«dS|j   |j ¦«dSdSr)raÚintr°rŸrcr)r²r[rOrPrFrdÚ set_resultrQ)rr³r·rhs rr¬z*_ExecutorManagerThread.process_result_item¹sõ€õ �k¥3Ñ 'Ô 'ð Dð×(Ò(Ñ*Ô*Ð *Ð *Ð*Ø”×"Ò" ;Ñ/Ô/ˆAØ �FŠF‰HŒHˆHØ”>ð Ø×,Ò,Ñ.Ô.Ð.Ø�ð ð ð Ô/×3Ò3°KÔ4GÈÑNÔNˆIàÐ$ØÔ(ðDØÔ$×2Ò2°;Ô3HÑIÔIÐIÐIÐIàÔ$×/Ò/° Ô0BÑCÔCÐCÐCÐCð %Ð$rcóN—| ¦«}tp |dup|jSr)r�r%Ú_shutdown_thread)rr§s rr°z'_ExecutorManagerThread.is_shutting_downÐs4€à×*Ò*Ñ,Ô,ˆõ !ð- H°Ð$4ð-ØÔ,ð .rcó�—| ¦«}|�d|_d|_d}td¦«}|�+t dd |¦«›d�¦«|_|j ¦«D] \}}|j   |¦«~Œ!|j  ¦«|j   ¦«D]}| ¦«Œ|jj ¦«t$jdkr|jj ¦«| ¦«dS)NzKA child process terminated abruptly, the process pool is not usable anymoreTz^A process in the process pool was terminated abruptly while the future was running or pending.z ''' r:z'''Úwin32)r�Ú_brokenrÏÚBrokenProcessPoolr1r)rBr[r(rFrdrrŸrÂÚ terminaterŠrrÚsysÚplatformrr²)rrµr§ÚbperOrhr·s rr«z'_ExecutorManagerThread.terminate_brokenÚsX€ð ×*Ò*Ñ,Ô,ˆØ Ð ð!1ˆHÔ ð)-ˆHÔ %؈Hõ ð!6ñ7ô7ˆð Ð Ý,Ø-˜"Ÿ'š' %™.œ.Ð-Ð-Ð-ñ/ô/ˆCŒMð#'Ô"9×"?Ò"?Ñ"AÔ"Að ð Ñ ˆG�YØ Ô × *Ò *¨3Ñ /Ô /Ð /à� Ø Ô×%Ò%Ñ'Ô'Ð'ð”×&Ò&Ñ(Ô(ð ð ˆAØ �KŠK‰MŒMˆMˆMð ŒÔ×%Ò%Ñ'Ô'Ð'õ Œ<˜7Ò "Ð "Ø ŒOÔ #× )Ò )Ñ +Ô +Ð +ð ×$Ò$Ñ&Ô&Ð&Ð&Ð&rcóT—| ¦«}|��d|_|jrƒi}|j ¦«D]#\}}|j ¦«s|||<Œ$||_ |j ¦«n#tj $rYnwxYwŒ1d|_dSdSdS)NTF) r�rÏÚ_cancel_pending_futuresr[r(rFÚcancelr£Ú get_nowaitr¼r½)rr§Únew_pending_work_itemsrOrhs rr±z2_ExecutorManagerThread.flag_executor_shutting_down sò€ð×*Ò*Ñ,Ô,ˆØ Ð Ø(,ˆHÔ %àÔ/ð 9ð*,Ð&Ø*.Ô*A×*GÒ*GÑ*IÔ*IðDðDÑ&�G˜YØ$Ô+×2Ò2Ñ4Ô4ðDØ:CÐ.¨wÑ7øØ*@�Ô'ððØÔ+×6Ò6Ñ8Ô8Ð8Ð8øÝ œ;ðððØ˜ðøøøðð49�Ô0Ð0Ð0ð) Ð ð 9ð 9sÁ-BÂBÂBcóL—| ¦«}d}||krƒ| ¦«dkrmt||z ¦«D]8} |j d¦«|dz }Œ##tj$rYnwxYw||kr| ¦«dk°idSdSdSdS)Nrr.)Úget_n_children_aliveÚrangerŠÚ put_nowaitr¼ÚFull)rÚn_children_to_stopÚn_sentinels_sentÚis rÚshutdown_workersz'_ExecutorManagerThread.shutdown_workers#së€Ø!×6Ò6Ñ8Ô8ÐØÐð Ð"4Ò4Ð4Ø×-Ò-Ñ/Ô/°!Ò3Ð3ÝÐ-Ð0@Ñ@ÑAÔAð ð �ðØ”O×.Ò.¨tÑ4Ô4Ð4Ø$¨Ñ)Ð$Ð$øÝ”zðððØ�E�Eðøøøð  Ð"4Ò4Ð4Ø×-Ò-Ñ/Ô/°!Ò3Ð3Ð3Ð3ð5Ð4Ø3Ð3ð5Ð4sÁ A*Á*A=Á<A=cób—| ¦«|j ¦«|j ¦«|j5|j ¦«ddd¦«n #1swxYwY|j ¦«D]}| ¦«ŒdSr) rårŠrÚ join_threadr\r+rŸrÂr)©rr·s rr²z._ExecutorManagerThread.join_executor_internals1sç€Ø ×ÒÑÔÐà Œ×ÒÑÔÐØ Œ×#Ò#Ñ%Ô%Ð%Ø Ô ð 'ð 'Ø Ô × $Ò $Ñ &Ô &Ð &ð 'ð 'ð 'ñ 'ô 'ð 'ð 'ð 'ð 'ð 'ð 'øøøð 'ð 'ð 'ð 'ð”×&Ò&Ñ(Ô(ð ð ˆAØ �FŠF‰HŒHˆHˆHð ð sÁA4Á4A8Á;A8cób—td„|j ¦«D¦«¦«S)Nc3ó>K—|]}| ¦«V—ŒdSr)Úis_aliverÁs rú z>_ExecutorManagerThread.get_n_children_alive..?s*èè€ÐAÐA A�1—:’:‘<”<ÐAÐAÐAÐAÐAÐAr)ÚsumrŸrÂrs rrÞz+_ExecutorManagerThread.get_n_children_alive=s-€åÐAÐA¨¬×)>Ò)>Ñ)@Ô)@ÐAÑAÔAÑAÔAÐAr)r r!r"rirr¸r©rªr¬r°r«r±rår²rÞrjrks@rr“r“sæø€€€€€ð ð ð-ð-ð-ð-ð-ð^+ð+ð+ðZððð.!-ð!-ð!-ðFDðDðDð..ð.ð.ð-'ð-'ð-'ð^9ð9ð9ð4 ð ð ð ð ð ðBðBðBðBðBðBðBrr“cóL—trtrtt¦«‚da ddl}n$#t$rdatt¦«‚wxYw t jd¦«}n#ttf$rYdSwxYw|dkrdS|dkrdSd|zatt¦«‚)NTrzxThis Python build lacks multiprocessing.synchronize, usually due to named semaphores being unavailable on this platform.ÚSC_SEM_NSEMS_MAXéÿÿÿÿéz@system provides too few semaphores (%d available, 256 necessary)) Ú_system_limits_checkedÚ_system_limitedÚNotImplementedErrorÚmultiprocessing.synchronizeÚ ImportErrorrˆÚsysconfÚAttributeErrorÚ ValueError)ÚmultiprocessingÚ nsems_maxs rÚ_check_system_limitsrüFsð€åð7Ý ð 7Ý%¥oÑ6Ô6Ð 6Ø!Ðð3Ø*Ð*Ð*Ð*Ð*øÝ ð3ð3ð3ð Fð õ"¥/Ñ2Ô2Ð2ð 3øøøð Ý”JÐ1Ñ2Ô2ˆ ˆ øÝ �JÐ 'ðððàˆˆðøøøð�B‚€ð ˆØ�CÒÐð ˆð4Ø6?ñ@€Oå �oÑ .Ô .Ð.s¦+«!A ÁA%Á%A:Á9A:c#ópK—|D]0}| ¦«|r| ¦«V—|°Œ1dS)z½ Specialized implementation of itertools.chain.from_iterable. Each item in *iterable* should be a list. This function is careful not to keep references to yielded objects. N)Úreverserc)ÚiterableÚelements rÚ_chain_from_iterable_of_listsrfsXèè€ð ð ð ˆØ�ŠÑÔÐØð Ø—+’+‘-”-Ð Ð Ð ðð øð ð rcó—eZdZdZdS)rÓzy Raised when a process in a ProcessPoolExecutor terminated abruptly while a future was in the running state. N)r r!r"rir#rrrÓrÓrs€€€€€ððððrrÓc󼇗eZdZ dddœd„Zd„Zd„Zd„Zd„Zd „Ze j jj e_ dd d œˆfd „ Z dddœd„Z e j j j e _ ˆxZS)ÚProcessPoolExecutorNr#)r¥có—t¦«|€Jtj¦«pd|_tjdkrt t|j¦«|_nN|dkrtd¦«‚tjdkr"|tkrtdt›�¦«‚||_|€*|�tj d¦«}ntj ¦«}||_ |j   d¬ ¦«d k|_ |�t|¦«std ¦«‚||_||_|�gt%|t&¦«std ¦«‚|dkrtd ¦«‚|j   d¬ ¦«d krtd¦«‚||_d|_i|_d|_t1j¦«|_t1jd¦«|_d|_d|_i|_d|_ tC¦«|_"|jtFz}tI||j |j|j|j"¬¦«|_%d|j%_&| '¦«|_(tSj*¦«|_+dS)aHInitializes a new ProcessPoolExecutor instance. Args: max_workers: The maximum number of processes that can be used to execute the given calls. If None or not given then as many worker processes will be created as the machine has processors. mp_context: A multiprocessing context to launch the workers. This object should provide SimpleQueue, Queue and Process. Useful to allow specific multiprocessing start methods. initializer: A callable used to initialize worker processes. initargs: A tuple of arguments to pass to the initializer. max_tasks_per_child: The maximum number of tasks a worker process can complete before it will exit and be replaced with a fresh worker process. The default of None means worker process will live as long as the executor. Requires a non-'fork' mp_context start method. When given, we default to using 'spawn' if no mp_context is supplied. Nr.rÑrz"max_workers must be greater than 0zmax_workers must be <= ÚspawnF)Ú allow_noneÚforkzinitializer must be a callablez&max_tasks_per_child must be an integerz max_tasks_per_child must be >= 1zpmax_tasks_per_child is incompatible with the 'fork' multiprocessing start method; supply a different mp_context.)r^rZr[r\r+T),rürˆÚ cpu_countÚ _max_workersrÕrÖÚminÚ_MAX_WINDOWS_WORKERSrùr Ú get_contextÚ _mp_contextÚget_start_methodÚ#_safe_to_dynamically_spawn_childrenÚcallableÚ TypeErrorÚ _initializerÚ _initargsrarÌr¤Ú_executor_manager_threadržrÏÚ threadingÚLockršÚ Semaphorer®rÒÚ _queue_countr¦rÙrr™ÚEXTRA_QUEUED_CALLSrXr Ú _ignore_epipeÚ SimpleQueuer¡r¼rr¢)rÚ max_workersÚ mp_contextr‹rŒr¥Ú queue_sizes rrzProcessPoolExecutor.__init__zs§€õ( ÑÔÐà Ð Ý "¤ ¡¤Ð 3°!ˆDÔ ÝŒ|˜wÒ&Ð&Ý$'Õ(<Ø(,Ô(9ñ%;ô%;�Ô!øð˜aÒÐÝ Ð!EÑFÔFÐFÝ”, 'Ò)Ð)ØÕ2Ò2Ð2Ý ØDÕ.BÐDÐDñFôFðFð!,ˆDÔ à Ð Ø"Ð.Ýœ^¨GÑ4Ô4� � åœ^Ñ-Ô-� Ø%ˆÔðÔ ×1Ò1¸UÐ1ÑCÔCÀvÒMð Ô0ð Ð "­8°KÑ+@Ô+@Ð "ÝÐ<Ñ=Ô=Ð =Ø'ˆÔØ!ˆŒà Ð *ÝÐ1µ3Ñ7Ô7ð EÝÐ HÑIÔIÐIØ$¨Ò)Ð)Ý Ð!CÑDÔDÐDØÔ×0Ò0¸EÐ0ÑBÔBÀfÒLÐLå ð"CñDôDðDð%8ˆÔ!ð)-ˆÔ%ðˆŒð!&ˆÔÝ'œnÑ.Ô.ˆÔÝ&/Ô&9¸!Ñ&<Ô&<ˆÔ#؈Œ ØˆÔØ#%ˆÔ Ø',ˆÔ$õ0=©¬ˆÔ,ð Ô&Õ);Ñ;ˆ Ý%Ø TÔ%5Ø#Ô7ØÔ-ØÔ>ð @ñ@ô@ˆÔð*.ˆÔÔ&Ø'×3Ò3Ñ5Ô5ˆÔÝœ™œˆŒˆˆrcóЗ|j€^|js| ¦«t|¦«|_|j ¦«|jt |j<dSdSr)rrÚ_launch_processesr“Ústartr™r'rs rÚ_start_executor_manager_threadz2ProcessPoolExecutor._start_executor_manager_threadèsn€Ø Ô (Ð 0àÔ;ð )Ø×&Ò&Ñ(Ô(Ð(Ý,BÀ4Ñ,HÔ,HˆDÔ )Ø Ô )× /Ò /Ñ 1Ô 1Ð 1àÔ4õ ˜TÔ:Ñ ;Ð ;Ð ;ð 1Ð 0rcóª—|j d¬¦«rdSt|j¦«}||jkr| ¦«dSdS)NF)Úblocking)r®ÚacquireÚlenržr Ú_spawn_process)rÚ process_counts rr­z)ProcessPoolExecutor._adjust_process_countòsb€à Ô &× .Ò .¸Ð .Ñ >Ô >ð Ø ˆFå˜DœOÑ,Ô,ˆ Ø ˜4Ô,Ò ,Ð ,ð × Ò Ñ !Ô !Ð !Ð !Ð !ð -Ð ,rcó¤—|jr Jd¦«‚tt|j¦«|j¦«D]}| ¦«ŒdS)NzhProcesses cannot be fork()ed after the thread has started, deadlock in the child processes could result.)rrßr'ržr r()rr*s rr!z%ProcessPoolExecutor._launch_processessp€àÔ0ð Að Að@ñ Aô AÐ0õ•s˜4œ?Ñ+Ô+¨TÔ->Ñ?Ô?ð "ð "ˆAØ × Ò Ñ !Ô !Ð !Ð !ð "ð "rcóÊ—|j t|j|j|j|j|jf¬¦«}| ¦«||j |j <dS)N)ÚtargetrH) rÚProcessr‘r r¡rrr¤r"ržÚpidrès rr(z"ProcessPoolExecutor._spawn_process sg€Ø Ô × $Ò $Ý"ØÔ"ØÔ$ØÔ#Ø”.ØÔ+ð -ð %ñ .ô .ˆð �Љ Œ ˆ Ø!"ˆŒ˜œÑÐÐrcó,—|j5|jrt|j¦«‚|jrt d¦«‚t rt d¦«‚t j¦«}t||||¦«}||j |j <|j   |j ¦«|xj dz c_ |j  ¦«|jr| ¦«| ¦«|cddd¦«S#1swxYwYdS)Nz*cannot schedule new futures after shutdownz6cannot schedule new futures after interpreter shutdownr.)ršrÒrÓrÏÚ RuntimeErrorr%rÚFuturerDr¦rr¢r}r™rrr­r#)rrGrHrIÚfÚws rÚsubmitzProcessPoolExecutor.submitsg€Ø Ô ð ð ØŒ|ð 6Ý'¨¬ Ñ5Ô5Ð5ØÔ$ð QÝ"Ð#OÑPÔPÐPÝð ;Ý"ð$:ñ;ô;ð;õ” ‘”ˆAݘ!˜R  vÑ.Ô.ˆAà:;ˆDÔ $ TÔ%6Ñ 7Ø ŒN× Ò ˜tÔ0Ñ 1Ô 1Ð 1Ø Ð Ô  Ñ "Ð Ô à Ô 0× 7Ò 7Ñ 9Ô 9Ð 9àÔ7ð -Ø×*Ò*Ñ,Ô,Ð,Ø × /Ò /Ñ 1Ô 1Ð 1Øð+ ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð sˆC4D Ä D ÄD r.)ÚtimeoutrqcóΕ—|dkrtd¦«‚t¦« tt|¦«t |d|iŽ|¬¦«}t |¦«S)ajReturns an iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many arguments as there are passed iterables. timeout: The maximum number of seconds to wait. If None, then there is no limit on the wait time. chunksize: If greater than one, the iterables will be chopped into chunks of size chunksize and submitted to the process pool. If set to one, the items in the list will be sent one at a time. Returns: An iterator equivalent to: map(func, *iterables) but the calls may be evaluated out-of-order. Raises: TimeoutError: If the entire result iterator could not be generated before the given timeout. Exception: If fn(*args) raises for any values. r.zchunksize must be >= 1.rq)r5)rùr]Úmaprrzrur)rrGr5rqrrÚresultsr_s €rr7zProcessPoolExecutor.map-shø€ð* �qŠ=ˆ=ÝÐ6Ñ7Ô7Ð 7å‘'”'—+’+�g¥n°bÑ9Ô9Ý)¨9ÐJÀ ÐJÐJØ&-ðñ/ô/ˆõ-¨WÑ5Ô5Ð5rTF)Úcancel_futurescón—|j5||_d|_|j�|j ¦«ddd¦«n #1swxYwY|j�|r|j ¦«d|_d|_|j�|r|j  ¦«d|_d|_ d|_dSr) ršrÙrÏr™rrr)r r¡rrž)rrÄr9s rÚshutdownzProcessPoolExecutor.shutdownJs€Ø Ô ð >ð >Ø+9ˆDÔ (Ø$(ˆDÔ !ØÔ3Ð?àÔ4×;Ò;Ñ=Ô=Ð=ð  >ð >ð >ñ >ô >ð >ð >ð >ð >ð >ð >øøøð >ð >ð >ð >ð Ô (Ð 4¸Ð 4Ø Ô )× .Ò .Ñ 0Ô 0Ð 0ð)-ˆÔ%ØˆÔØ Ô Ð )¨dÐ )Ø Ô × $Ò $Ñ &Ô &Ð &Ø!ˆÔ؈ŒØ/3ˆÔ,Ð,Ð,sˆ/AÁAÁ A)NNNr#)T)r r!r"rr#r­r!r(r4rÚExecutorrir7r;rjrks@rrrysûø€€€€€Ø48Ø,.ðl'ØGKðl'ðl'ðl'ðl'ðl'ð\5ð5ð5ð "ð "ð "ð"ð"ð"ð #ð #ð #ðððð.”^Ô*Ô2€F„Nà*.¸!ð6ð6ð6ð6ð6ð6ð6ð:4°Eð4ð4ð4ð4ð4ð(”~Ô.Ô6€HÔÐÐÐÐrrrSr)2riÚ __author__rˆÚconcurrent.futuresrr¼rúr Úmultiprocessing.connectionÚmultiprocessing.queuesrrr›Ú functoolsrrorÕÚ tracebackrÚWeakKeyDictionaryr'r%rr-Ú_register_atexitrr Ú Exceptionr1r8r?ÚobjectrDrMrUrXrurzr€r‘ÚThreadr“ròrórürÚBrokenExecutorrÓr<rr#rrúrIsYðð(ð(ðT2€ à € € € Ø$Ð$Ð$Ð$Ð$Ð$Ø € € € ØÐÐÐØ!Ð!Ð!Ð!Ø(Ð(Ð(Ð(Ð(Ð(ØÐÐÐØ€€€ØÐÐÐÐÐØÐÐÐØ € € € Ø&Ð&Ð&Ð&Ð&Ð&ð-�7Ô,Ñ.Ô.ÐØÐð*ð*ð*ð*ð*ñ*ô*ð*ð4ððð€ Ô˜<Ñ(Ô(Ð(ð ÐðÐððððð�yñôðð 1ð 1ð 1ð 1ð 1ñ 1ô 1ð 1ðððððððð�ñôðð!ð!ð!ð!ð!�&ñ!ô!ð!ððððð�ñôðð3ð3ð3ð3ð3�ñ3ô3ð3ð2ððð )ð )ð )ðDHØ"ð 9ð 9ð 9ð 9ð3ð3ð3ð3ðlhBðhBðhBðhBðhB˜YÔ-ñhBôhBðhBðV ÐØ€ð/ð/ð/ð@  ð  ð  ððððð˜Ô,ñôððe7ðe7ðe7ðe7ðe7˜%œ.ñe7ôe7ðe7ðe7ðe7r