+
    O(i,                    ~   ^ RI Ht ^ RIt^ RIHtHt ^ RIHt ^ RIH	t	H
t
 ^ RIHtHtHtHtHtHt ]P$                  R8  d   ^ RIHt ]! R]R	]R
7      t]! R]R7      t]! R]R	]R
7      t]! R]R7      t]! RRR7      t]! RRR7      tR R ltR R ltR t ! R R]]],          4      t ! R R]],          ]4      t R# )    )annotationsN)CallableSequence)partial)getmroisclass)TYPE_CHECKINGGenericTypeTypeVarcastoverload)r   _BaseExceptionT_coT)bound	covariantdefault_BaseExceptionT)r   _ExceptionT_co_ExceptionT_ExceptionGroupSelfExceptionGroup_BaseExceptionGroupSelfBaseExceptionGroupc               $    V ^8  d   QhRRRRRR/# )   excBaseExceptionparentsztuple[type[BaseException]]returnbool )formats   "`/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/exceptiongroup/_exceptions.py__annotate__r$      s$      	!;	    c                V    \        V P                  4      R R  F  pW!9   g   K   R# 	  R# )NTF)r   	__class__)r   r   clss   && r#   check_direct_subclassr*      s+     cmm$Sb)> * r%   c                    V ^8  d   QhRRRR/# )r   	condition`type[_BaseExceptionT] | tuple[type[_BaseExceptionT], ...] | Callable[[_BaseExceptionT_co], bool]r   z$Callable[[_BaseExceptionT_co], bool]r!   )r"   s   "r#   r$   r$   #   s$     W W+W *	Wr%   c                   \        V 4      '       dB   \        \        \        \        ,          V 4      \        4      '       d   \        \        V 3R 7      # \        V \        4      '       dM   \        ;QJ d    R V  4       F  '       d   K   RM	  RM! R V  4       4      '       d   \        \        V R 7      # M\        V 4      '       d   \        RV 4      # \        R4      h))r   c              3  h   "   T F(  p\        V4      ;'       d    \        V\        4      x  K*  	  R # 5iN)r   
issubclassr   ).0xs   & r#   	<genexpr>'get_condition_filter.<locals>.<genexpr>-   s&     NIqwqz::jM::Is   22FTzCallable[[BaseException], bool]z?expected a function, exception type or tuple of exception types)r   r1   r   r   r   r   r*   
isinstancetupleallcallable	TypeError)r,   s   &r#   get_condition_filterr;   #   s    
 yjT- ),m  ,ylCC	Iu	%	%3NIN333NINNN0)DD O	)		5yAA
U
VVr%   c                    V P                  V4      pV P                  Vn        V P                  Vn        V P                  Vn        \	        V R 4      '       d   \        V P                  4      Vn        V# 	__notes__)derive	__cause____context____traceback__hasattrlistr>   )selfexcsegs   && r#   _derive_and_copy_attributesrH   5   sX    	T	B>>BL%%BN))Bt[!!DNN+Ir%   c                  b  a  ] tR t^@tRtR V 3R lltR R ltR R lt]R R	 l4       t	]R
 R l4       t
]R R l4       t]R R l4       t]R R l4       tR R lt]R R l4       t]R R l4       t]R R l4       tR R lt]R R l4       t]R R l4       tR  R! ltR" R# ltR$ R% ltR&tV ;t# )'r   z/A combination of multiple unrelated exceptions.c               (    V ^8  d   QhRRRRRRRR/# )	r   r)   ztype[_BaseExceptionGroupSelf]_BaseExceptionGroup__messagestr_BaseExceptionGroup__exceptionsSequence[_BaseExceptionT_co]r   r   r!   )r"   s   "r#   r$   BaseExceptionGroup.__annotate__C   s0     & &*&& 3& 
!	&r%   c                	  < \        V\        4      '       g   \        R \        V4       24      h\        V\        4      '       g   \        R4      hV'       g   \        R4      h\        V4       F*  w  r4\        V\        4      '       d   K  \        RV R24      h	  V \        J dA   \        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       d   \        p \        V \        4      '       dN   V FG  p\        V\        4      '       d   K  V \        J d   \        R4      h\        R	V P                  : 24      h	  \        SV `=  WV4      p\!        V4      Vn        V# )
zargument 1 must be str, not z/second argument (exceptions) must be a sequencez9second argument (exceptions) must be a non-empty sequencezItem z4 of second argument (exceptions) is not an exceptionc              3  B   "   T F  p\        V\        4      x  K  	  R # 5ir0   )r6   	Exception)r2   r   s   & r#   r4   -BaseExceptionGroup.__new__.<locals>.<genexpr>X   s     F#:c9--s   FTz/Cannot nest BaseExceptions in an ExceptionGroupzCannot nest BaseExceptions in )r6   rL   r:   typer   
ValueError	enumerater   r   r8   r   r1   rR   __name__super__new__r7   _exceptions)r)   rK   rM   ir   instancer(   s   &&&   r#   rY   BaseExceptionGroup.__new__C   s?   
 )S)):4	?:KLMM,11MNNK   -FAc=11 A3RS  . $$sFFsssFFFF$c9%%#!#y11n,'M  (<S\\<LM  $ 7?3<@$\2r%   c               (    V ^8  d   QhRRRRRRRR/# )	r   rK   rL   rM   rN   argsobjectr   Noner!   )r"   s   "r#   r$   rO   k   s8     E EE 3E 	E
 
Er%   c                	8    \         P                  ! WV.VO5!   R # r0   )r   __init__)rE   rK   rM   r_   s   &&&*r#   rc   BaseExceptionGroup.__init__k   s     	tDtDr%   c                    V ^8  d   QhRRRR/# )r   noterL   r   ra   r!   )r"   s   "r#   r$   rO   s   s     	$ 	$S 	$T 	$r%   c                	    \        V\        4      '       g'   \        R V: R\        V4      P                   R24      h\        V R4      '       g   . V n        V P                  P                  V4       R# )zExpected a string, got note=z (type )r>   N)r6   rL   r:   rT   rW   rC   r>   append)rE   rf   s   &&r#   add_noteBaseExceptionGroup.add_notes   sb    $$$.thgd4j>Q>Q=RRST  t[))(*DNd#r%   c                   V ^8  d   QhRR/# r   r   rL   r!   )r"   s   "r#   r$   rO      s       r%   c                	(    V P                   ^ ,          # )r   )r_   rE   s   &r#   messageBaseExceptionGroup.message~   s    yy|r%   c                   V ^8  d   QhRR/# )r   r   zGtuple[_BaseExceptionT_co | BaseExceptionGroup[_BaseExceptionT_co], ...]r!   )r"   s   "r#   r$   rO      s     ' '	P'r%   c                	,    \        V P                  4      # r0   )r7   rZ   ro   s   &r#   
exceptionsBaseExceptionGroup.exceptions   s     T%%&&r%   c                    V ^8  d   QhRRRR/# )r   _BaseExceptionGroup__condition1type[_ExceptionT] | tuple[type[_ExceptionT], ...]r   "ExceptionGroup[_ExceptionT] | Noner!   )r"   s   "r#   r$   rO      s     1 1L1	+1r%   c                	    R # r0   r!   rE   rw   s   &&r#   subgroupBaseExceptionGroup.subgroup   s     .1r%   c                    V ^8  d   QhRRRR/# )r   rw   9type[_BaseExceptionT] | tuple[type[_BaseExceptionT], ...]r   *BaseExceptionGroup[_BaseExceptionT] | Noner!   )r"   s   "r#   r$   rO      s     9 9T9	39r%   c                	    R # r0   r!   r{   s   &&r#   r|   r}      s     69r%   c                    V ^8  d   QhRRRR/# )r   rw   >Callable[[_BaseExceptionT_co | _BaseExceptionGroupSelf], bool]r   z-BaseExceptionGroup[_BaseExceptionT_co] | Noner!   )r"   s   "r#   r$   rO      s     < <S< 
7<r%   c                	    R # r0   r!   r{   s   &&r#   r|   r}      s     9<r%   c                    V ^8  d   QhRRRR/# )r   rw   zztype[_BaseExceptionT] | tuple[type[_BaseExceptionT], ...] | Callable[[_BaseExceptionT_co | _BaseExceptionGroupSelf], bool]r   r   r!   )r"   s   "r#   r$   rO      s!      I
 
4r%   c                	|   \        V4      pR pV! V 4      '       d   V # . pV P                   Fm  p\        V\        4      '       d2   VP	                  V4      pVe   VP                  V4       WeJd   RpKH  KJ  V! V4      '       d   VP                  V4       Kk  RpKo  	  V'       g   V # V'       d   \        W4      pV# R# )FNT)r;   rt   r6   r   r|   ri   rH   )rE   rw   r,   modifiedrt   r   r|   groups   &&      r#   r|   r}      s     )5	T??K*,
??C#122<<4'%%h/&#H '3!!#& # K/AELr%   c                    V ^8  d   QhRRRR/# )r   rw   rx   r   zXtuple[ExceptionGroup[_ExceptionT] | None, BaseExceptionGroup[_BaseExceptionT_co] | None]r!   )r"   s   "r#   r$   rO      s      L
r%   c                	    R # r0   r!   r{   s   &&r#   splitBaseExceptionGroup.split        r%   c                    V ^8  d   QhRRRR/# )r   rw   r   r   z`tuple[BaseExceptionGroup[_BaseExceptionT] | None, BaseExceptionGroup[_BaseExceptionT_co] | None]r!   )r"   s   "r#   r$   rO      s      T
r%   c                	    R # r0   r!   r{   s   &&r#   r   r      r   r%   c                    V ^8  d   QhRRRR/# )r   rw   r   r   zctuple[BaseExceptionGroup[_BaseExceptionT_co] | None, BaseExceptionGroup[_BaseExceptionT_co] | None]r!   )r"   s   "r#   r$   rO      s      S
r%   c                	    R # r0   r!   r{   s   &&r#   r   r      s     r%   c                    V ^8  d   QhRRRR/# )r   rw   r-   r   a!  tuple[ExceptionGroup[_ExceptionT] | None, BaseExceptionGroup[_BaseExceptionT_co] | None] | tuple[BaseExceptionGroup[_BaseExceptionT] | None, BaseExceptionGroup[_BaseExceptionT_co] | None] | tuple[BaseExceptionGroup[_BaseExceptionT_co] | None, BaseExceptionGroup[_BaseExceptionT_co] | None]r!   )r"   s   "r#   r$   rO      s      01 01/01	
01r%   c                	   \        V4      pV! V 4      '       d   V R 3# . p. pV P                   F  p\        V\        4      '       dB   VP	                  V4      w  rgVe   VP                  V4       Ve   VP                  V4       KX  KZ  V! V4      '       d   VP                  V4       K{  VP                  V4       K  	  R pV'       d   \        W4      pR p	V'       d   \        W4      p	W3# r0   )r;   rt   r6   r   r   ri   rH   )
rE   rw   r,   matching_exceptionsnonmatching_exceptionsr   matchingnonmatchingmatching_groupnonmatching_groups
   &&        r#   r   r      s    & )5	T??:3568??C#122(+		)(<%''..x8**11+> +3#**3/&--c2 # :>8SN<@! ;! 00r%   c                    V ^8  d   QhRRRR/# )r   _BaseExceptionGroup__excszSequence[_ExceptionT]r   zExceptionGroup[_ExceptionT]r!   )r"   s   "r#   r$   rO     s    WW2W7RWr%   c                	    R # r0   r!   rE   r   s   &&r#   r?   BaseExceptionGroup.derive  s    TWr%   c                    V ^8  d   QhRRRR/# r   r   zSequence[_BaseExceptionT]r   z#BaseExceptionGroup[_BaseExceptionT]r!   )r"   s   "r#   r$   rO     s     2 2/2	,2r%   c                	    R # r0   r!   r   s   &&r#   r?   r     s     /2r%   c                    V ^8  d   QhRRRR/# r   r!   )r"   s   "r#   r$   rO     s     8 8/8	,8r%   c                	.    \        V P                  V4      # r0   )r   rp   r   s   &&r#   r?   r     s     "$,,77r%   c                   V ^8  d   QhRR/# rm   r!   )r"   s   "r#   r$   rO     s     Q Q Qr%   c                	    \        V P                  4      ^8X  d   RMRpV P                   R\        V P                  4       RV R2# )    sz (z sub-exceptionrh   )lenrZ   rp   )rE   suffixs   & r#   __str__BaseExceptionGroup.__str__  sD    4++,1s,,r#d&6&6"7!8vhaPPr%   c                   V ^8  d   QhRR/# rm   r!   )r"   s   "r#   r$   rO     s     P P# Pr%   c                	    V P                   P                   R V P                  ^ ,          : RV P                  ^,          : R2# )(z, rh   )r(   rW   r_   ro   s   &r#   __repr__BaseExceptionGroup.__repr__  s8    ..))*!DIIaL+;2diil=MQOOr%   r=   )rW   
__module____qualname____firstlineno____doc__rY   rc   rj   propertyrp   rt   r   r|   r   r?   r   r   __static_attributes____classcell__r(   s   @r#   r   r   @   s   9& &PE	$   ' '
 1 1 9 9 < <
B      01d W W2 28
QP Pr%   c                     a  ] tR tRtR V 3R llt]'       dP   ]R R l4       t]R R l4       t	]R R	 l4       t	R
 V 3R llt	]R R l4       t
]R R l4       t
R V 3R llt
RtV ;t# RtV ;t# )r   i  c               (    V ^8  d   QhRRRRRRRR/# )	r   r)   ztype[_ExceptionGroupSelf]_ExceptionGroup__messagerL   _ExceptionGroup__exceptionszSequence[_ExceptionT_co]r   r   r!   )r"   s   "r#   r$   ExceptionGroup.__annotate__  s0     = =&== /= 
	=r%   c                	$   < \         SV `  WV4      # r0   )rX   rY   )r)   r   r   r(   s   &&&r#   rY   ExceptionGroup.__new__  s    
 ws|<<r%   c                   V ^8  d   QhRR/# )r   r   z;tuple[_ExceptionT_co | ExceptionGroup[_ExceptionT_co], ...]r!   )r"   s   "r#   r$   r   $  s     	N 	NH	Nr%   c                	    R # r0   r!   ro   s   &r#   rt   ExceptionGroup.exceptions#  s	     KNr%   c                    V ^8  d   QhRRRR/# )r   _ExceptionGroup__conditionrx   r   ry   r!   )r"   s   "r#   r$   r   )  s     	5 	5P	5/	5r%   c                	    R # r0   r!   rE   r   s   &&r#   r|   ExceptionGroup.subgroup(  s     25r%   c                    V ^8  d   QhRRRR/# )r   r   6Callable[[_ExceptionT_co | _ExceptionGroupSelf], bool]r   z%ExceptionGroup[_ExceptionT_co] | Noner!   )r"   s   "r#   r$   r   .  s     	8 	8U	82	8r%   c                	    R # r0   r!   r   s   &&r#   r|   r   -  s     58r%   c                    V ^8  d   QhRRRR/# )r   r   Ttype[_ExceptionT] | tuple[type[_ExceptionT], ...] | Callable[[_ExceptionT_co], bool]r   ry   r!   )r"   s   "r#   r$   r   2  s      	1 	1/	1
 0	1r%   c                	"   < \         SV `  V4      # r0   )rX   r|   rE   r   r(   s   &&r#   r|   r   2  s     7#K00r%   c                    V ^8  d   QhRRRR/# )r   r   rx   r   zPtuple[ExceptionGroup[_ExceptionT] | None, ExceptionGroup[_ExceptionT_co] | None]r!   )r"   s   "r#   r$   r   ;  s     	 	P	
	r%   c                	    R # r0   r!   r   s   &&r#   r   ExceptionGroup.split:      
 r%   c                    V ^8  d   QhRRRR/# )r   r   r   r   Stuple[ExceptionGroup[_ExceptionT_co] | None, ExceptionGroup[_ExceptionT_co] | None]r!   )r"   s   "r#   r$   r   B  s     	 	U	
	r%   c                	    R # r0   r!   r   s   &&r#   r   r   A  r   r%   c               $    V ^8  d   QhRRRRRR/# )r   rE   r   r   r   r   r   r!   )r"   s   "r#   r$   r   H  s(     	. 	.%	./	.

	.r%   c                	"   < \         SV `  V4      # r0   )rX   r   r   s   &&r#   r   r   H  s     7=--r%   r!   )rW   r   r   r   rY   r	   r   rt   r   r|   r   r   r   r   s   @r#   r   r     s    = = 		N 
	N 
	5 
	5 
	8 
	8	1 	1 
	 
	 
	 
		. 	.O r%   )      )!
__future__r   syscollections.abcr   r   	functoolsr   inspectr   r   typingr	   r
   r   r   r   r   version_infotyping_extensionsr   r   r   rR   r   r   r   r   r*   r;   rH   r   r   r!   r%   r#   <module>r      s    " 
 .  # H Hg)}  +=AIy m953;KL !";CWX W$VP0B(C VPr7.'7 7.r%   