+
    öÙ†j¸  ã                   ó¶   € R t ^ RIHt ^ RIt^RIHt ^ RItR t ! R R]P                  4      t	 ! R R]P                  4      t ! R	 R
]P                  4      tR# )z#Implements InterpreterPoolExecutor.)ÚinterpretersN)Úthreadc                 ó  €  V! V/ VB #   \          dv   p T P                  T4       h   \        P                   dF    \	        R \
        P                  R7       \        P                  ! T4       T P                  R4        h i ; iRp?ii ; i)zexception is not shareable:)ÚfileN)	ÚBaseExceptionÚputr   ÚNotShareableErrorÚprintÚsysÚstderrÚ	tracebackÚprint_exception)ÚresultsÚfuncÚargsÚkwargsÚexcs   &&&& Ú5/usr/lib/python3.14/concurrent/futures/interpreter.pyÚdo_callr   	   s   € ðÙ�TÐ$˜VÑ$Ð$øÜô 
ð	Ø�K‰K˜Ôð 	øô ×-Ñ-ô 	äÐ/´c·j±jÕAÜ×%Ò% cÔ*Ø�K‰K˜ÕØð	þð
ús0   ‚
 ŠB
–(§B¨ABÁ?BÂBÂBÂB
c                   óN   a € ] tR t^t o ]R 4       tR tR tR tR t	R t
RtV tR# )	ÚWorkerContextc                ó¼   a a€ R  pVe    V! W/ 4      oMRoV V3R lpWC3#   \          d0    \        T\        4      '       d   T'       d   \        RT: 24      hh i ; i)c                 óP   € \        V \        4      '       d   \        R 4      hWV3pV# )zscripts not supported)Ú
isinstanceÚstrÚ	TypeError)Úfnr   r   Útasks   &&& r   Úresolve_taskÚ+WorkerContext.prepare.<locals>.resolve_task   s*   € Ü˜"œc×"Ò"äÐ 7Ó8Ð8à &Ð)�ØˆKó    Nz.an initializer script does not take args, got c                  ó   <€ S ! S4      # ©N© )ÚclsÚinitdatas   €€r   Úcreate_contextÚ-WorkerContext.prepare.<locals>.create_context.   s   ø€ Ù�x“=Ð r    )Ú
ValueErrorr   r   )r$   ÚinitializerÚinitargsr   r&   r%   s   f&&  @r   ÚprepareÚWorkerContext.prepare   sn   ù€ ò	ð Ò"ðÙ'¨¸rÓB‘ð ˆHö	!àÐ+Ð+øô ô Ü˜k¬3×/Ò/·HÜ$Ð'UÐV^ÑUaÐ%bÓcÐcØðús   ‹	! ¡(AÁ
Ac                ó.   € Wn         R V n        R V n        R # r"   ©r%   Úinterpr   )Úselfr%   s   &&r   Ú__init__ÚWorkerContext.__init__2   s   € Ø ŒØˆŒØˆŽr    c                óF   € V P                   e   V P                  4        R # R # r"   )r/   Úfinalize)r0   s   &r   Ú__del__ÚWorkerContext.__del__7   s   € Ø�;‰;Ò"Ø�M‰MŽOñ #r    c                óR  € V P                   e   Q V P                   4       h\        P                  ! 4       V n          ^ p\        P                  ! V4      V n        V P
                  '       d   V P                  V P
                  4       R # R #   \         d    T P                  4        h i ; ir"   )	r/   r   ÚcreateÚcreate_queuer   r%   Úrunr   r4   )r0   Úmaxsizes   & r   Ú
initializeÚWorkerContext.initialize;   s€   € Ø�{‰{Ò"Ð/ D§K¡KÓ/Ð"Ü"×)Ò)Ó+ˆŒð	ØˆGÜ'×4Ò4°WÓ=ˆDŒLà�}�}ˆ}Ø—‘˜Ÿ™Ö'ñ øäô 	Ø�M‰MŒOØð	ús   ».B	 Á*B	 Â	B&c                óˆ   € V P                   pV P                  pR V n        R V n         Ve   ?Ve   VP                  4        R # R # r"   )r/   r   Úclose)r0   r/   r   s   &  r   r4   ÚWorkerContext.finalizeH   s?   € Ø—‘ˆØ—,‘,ˆØˆŒØˆŒØÒØØÒØ�L‰LŽNñ r    c                óÚ   €  V P                   P                  ! \        V P                  .VO5!  #   \        P
                   d'   pT P                  P                  4       pTf   h Y2hR p?ii ; ir"   )r/   Úcallr   r   r   ÚExecutionFailedÚget)r0   r   Úwrapperr   s   &&  r   r:   ÚWorkerContext.runR   s]   € ð	#Ø—;‘;×#Ò#¤G¨T¯\©\ÐA¸DÓAÐAøÜ×+Ñ+ô 	#à—,‘,×"Ñ"Ó$ˆCØŠ{àØÐ"ûð	#ús   ‚,/ ¯A*Á!A%Á%A*r.   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Úclassmethodr+   r1   r5   r<   r4   r:   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s5   ø‡ € àñ,ó ð,ò,ò
òò÷	#ð 	#r    r   c                   ó   € ] tR t^^tRtRtR# )ÚBrokenInterpreterPoolzP
Raised when a worker thread in an InterpreterPoolExecutor failed initializing.
r#   N)rG   rH   rI   rJ   Ú__doc__rL   r#   r    r   rP   rP   ^   s   † õr    rP   c                   óJ   a a€ ] tR t^dt o]t]R 4       tRV 3R lltRt	Vt
V ;t# )ÚInterpreterPoolExecutorc                ó,   € \         P                  W4      # r"   )r   r+   )r$   r)   r*   s   &&&r   Úprepare_contextÚ'InterpreterPoolExecutor.prepare_contexth   s   € ä×$Ñ$ [Ó;Ð;r    c                ób   <€ T;'       g    RV P                  4        2p\        SV `	  WW44       R# )a‚  Initializes a new InterpreterPoolExecutor instance.

Args:
    max_workers: The maximum number of interpreters that can be used to
        execute the given calls.
    thread_name_prefix: An optional name prefix to give our threads.
    initializer: A callable or script used to initialize
        each worker interpreter.
    initargs: A tuple of arguments to pass to the initializer.
zInterpreterPoolExecutor-N)Ú_counterÚsuperr1   )r0   Úmax_workersÚthread_name_prefixr)   r*   Ú	__class__s   &&&&&€r   r1   Ú InterpreterPoolExecutor.__init__l   s<   ø€ ð 1÷ Mð MØ!9¸$¿-¹-»/Ð9JÐKð 	ä‰Ñ˜Ø$ö	0r    r#   )NÚ Nr#   )rG   rH   rI   rJ   rP   ÚBROKENrK   rU   r1   rL   rM   Ú__classcell__)r\   rN   s   @@r   rS   rS   d   s&   ù‡ € à"€Fàñ<ó ð<÷0÷ 0r    rS   )rQ   Ú
concurrentr   r
   r^   r   Ú_threadr   r   r   ÚBrokenThreadPoolrP   ÚThreadPoolExecutorrS   r#   r    r   Ú<module>re      sR   ðÙ )å #Û 
Ý Û òô B#�G×)Ñ)ô B#ôJ˜G×4Ñ4ô ô0˜g×8Ñ8ö 0r    