+
     Biz                        ^ RI Ht ^ RIHtHt ^ RItRt]'       d/   ^ RIHt ^ RI	H
t
 ^ RIHt  ! R R	]4      t ! R
 R]4      t^RIHt R R ltR# )    )annotations)	dataclassfieldNF)Thread)TracebackType)Protocolc                  n    ] tR t^t]R R l4       t]R R l4       t]R R l4       t]R R l4       tR	t	R
# )ExceptHookArgsc                   V ^8  d   QhRR/# )   returnztype[BaseException] )formats   "1/usr/lib/python3.14/_pyrepl/_threading_handler.py__annotate__ExceptHookArgs.__annotate__   s    6616    c                	    R # Nr   selfs   &r   exc_typeExceptHookArgs.exc_type   s    36r   c                   V ^8  d   QhRR/# )r   r   zBaseException | Noner   )r   s   "r   r   r      s    8838r   c                	    R # r   r   r   s   &r   	exc_valueExceptHookArgs.exc_value   s    58r   c                   V ^8  d   QhRR/# )r   r   zTracebackType | Noner   )r   s   "r   r   r      s    <<#7<r   c                	    R # r   r   r   s   &r   exc_tracebackExceptHookArgs.exc_traceback   s    9<r   c                   V ^8  d   QhRR/# )r   r   zThread | Noner   )r   s   "r   r   r      s    ..M.r   c                	    R # r   r   r   s   &r   threadExceptHookArgs.thread   s    +.r   r   N)
__name__
__module____qualname____firstlineno__propertyr   r   r    r$   __static_attributes__r   r   r   r
   r
      s:    	6 
6	8 
8	< 
<	. 
.r   r
   c                  .    ] tR t^tR R ltR R ltRtR# )ShowExceptionsc                   V ^8  d   QhRR/# r   r   intr   )r   s   "r   r   ShowExceptions.__annotate__   s    &&c&r   c                	    R # r   r   r   s   &r   __call__ShowExceptions.__call__   s    3r   c                    V ^8  d   QhRRRR/# r   sstrr   Noner   )r   s   "r   r   r1      s    ****r   c                	    R # r   r   r   r7   s   &&r   addShowExceptions.add   s    sr   r   N)r&   r'   r(   r)   r3   r<   r+   r   r   r   r-   r-      s    &**r   r-   )Readerc                    V ^8  d   QhRRRR/# )r   readerr>   r   r9   r   )r   s   "r   r   r      s     ,- ,-6 ,-d ,-r   c                ~   a a ^ RI o\         ! V V3R lR4      4       pV! 4       pVS n        VP                  Sn        R# )r   Nc                     < ] tR t^!t$ ]!  ZP
                  R7      tR]R&   ]! ]R7      t	R]R&   R V 3R llt
R R	 ltR
 V 3R lltR R ltRtR# )1install_threading_hook.<locals>.ExceptHookHandler)default_factoryzthreading.Locklockz	list[str]messagesc                   V ^8  d   QhRR/# r/   r   )r   s   "r   r   >install_threading_hook.<locals>.ExceptHookHandler.__annotate__&   s     	 	# 	r   c                	  < ^ pV P                   ;_uu_ 4        V P                  '       g    RRR4       ^ # SP                  4        V P                   F!  pV^,          pV'       g   K  \        V4       K#  	  V P                  P	                  4        SP
                  P                  R4       SP                  4        RRR4       V#   + '       g   i     T# ; i)r   Nzctrl-c)rE   rF   restoreprintclearscheduled_commandsappendprepare)r   counttbr@   s   &  r   show6install_threading_hook.<locals>.ExceptHookHandler.show&   s    E}}}   --BQJErb	 ( ##%))00:   L  Ls   C-C(ACC	c                    V ^8  d   QhRRRR/# r6   r   )r   s   "r   r   rH   5   s     	( 	( 	( 	(r   c                	    V P                   ;_uu_ 4        V P                  P                  V4       R R R 4       R #   + '       g   i     R # ; ir   )rE   rF   rN   r;   s   &&r   r<   5install_threading_hook.<locals>.ExceptHookHandler.add5   s)    $$Q' s	   ;A	c                    V ^8  d   QhRRRR/# )r   argsr
   r   r9   r   )r   s   "r   r   rH   9   s     		 		. 		T 		r   c                	:  < \         P                  ! VP                  VP                  VP                  SP
                  R 7      pVP                  '       d   RVP                  P                   R2MRpVRP                  V4      ,           pV P                  V4       R# ))colorizez
Exception in z:

 N)
	tracebackformat_exceptionr   r   r    can_colorizer$   namejoinr<   )r   rX   linesprerQ   r@   s   &&   r   	exception;install_threading_hook.<locals>.ExceptHookHandler.exception9   sv    .."",,	E >B[[[ODKK$4$4#5S9dCrwwu~%BHHRLr   c                   V ^8  d   QhRR/# r/   r   )r   s   "r   r   rH   D   s     	 	c 	r   c                	"    V P                  4       # r   )rR   r   s   &r   r3   :install_threading_hook.<locals>.ExceptHookHandler.__call__D   s    99;r   r   N)r&   r'   r(   r)   r   LockrE   __annotations__listrF   rR   r<   rd   r3   r+   )r@   	threadings   r   ExceptHookHandlerrC   !   sH    $Y^^DnD#D9)9	 		(		 			 	r   rm   )rl   r   threading_hookrd   
excepthook)r@   rm   handlerrl   s   f  @r   install_threading_hookrq      s>    # # #L  !G#F",,Ir   )
__future__r   dataclassesr   r   r]   TYPE_CHECKINGrl   r   typesr   typingr   r
   r-   r@   r>   rq   r   r   r   <module>rw      sC    " (   #/ /+ + ,-r   