+
    Brh                     |    R t . ROt^ RIt^ RIHt ^ RIHt R	R lt ! R R4      tR t	]! 4       t
]
P                  tR# )
zGRedo the builtin repr() (representation) but with limits on most sizes.ReprN)islice)	get_identc                   a  V 3R lpV# )zGDecorator to make a repr function return fillvalue for a recursive callc                   <a a \        4       oVVV 3R  lp\        S R4      Vn        \        S R4      Vn        \        S R4      Vn        \        S R4      Vn        \        S RR4      Vn        \        S RR4      Vn        S Vn        V# )	c                    < \        V 4      \        4       3pVS9   d   S# SP                  V4        S! V 4      pSP                  V4       V#   SP                  T4       i ; iN)idr   adddiscard)selfkeyresult	fillvaluerepr_runninguser_functions   &  $/usr/local/lib/python3.14/reprlib.pywrapper<recursive_repr.<locals>.decorating_function.<locals>.wrapper   sc    T(IK'Cl"  S!*&t,$$S)M $$S)s   A A 
__module____doc____name____qualname____annotate__N__type_params__ )	setgetattrr   r   r   r   r   r   __wrapped__)r   r   r   r   s   f @r   decorating_function+recursive_repr.<locals>.decorating_function   s|    u		 %]LA!-;"=*=&}nE&}ndK")-9JB"O+    r   )r   r   s   f r   recursive_reprr"   	   s    0 r!   c                      a  ] tR t^&t o RRRRRRRRRRRRR	RR
RRR/	tR^R^R^R^R^R^R^R^R^R^(R^RRRR/R ltR tR tR tR+R lt	R  t
R! tR" tR# tR$ tR% tR& tR' tR( tR) tR*tV tR# ),r   tuplebuiltinslistarrayr   	frozensetdequecollectionsdictstrintmaxlevelmaxtuplemaxlistmaxarraymaxdictmaxsetmaxfrozensetmaxdeque	maxstringmaxlongmaxotherr   ...indentNc                   Wn         W n        W0n        W@n        WPn        W`n        Wpn        Wn        Wn        Wn	        Wn
        Wn        Wn        R # r   )r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r   r:   )r   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r   r:   s   &$$$$$$$$$$$$$r   __init__Repr.__init__3   sF    
 !  ( " "r!   c                8    V P                  WP                  4      # r   )repr1r.   )r   xs   &&r   repr	Repr.reprF   s    zz!]]++r!   c                b   \        V4      pVP                  pR V9   d"   VP                  4       pRP                  V4      p\	        V RV,           R4      pV'       dE   W@P
                  9  d	   V! W4      # \	        VRR4      pWpP
                  V,          8X  d	   V! W4      # V P                  W4      # ) _repr_Nr   )typer   splitjoinr   _lookuprepr_instance)r   r@   levelclstypenamepartsmethodmodules   &&&     r   r?   
Repr.repr1I   s    1g<<(?NN$ExxHw148||+a''S,5Fh//a''!!!++r!   c                   V P                   f   RP                  V4      # V'       g   R# V P                   p\        V\        4      '       d!   V^ 8  d   \	        RV: R24      hVR,          p RV P
                  V,
          ^,           V,          ,           pTP                  R.TORN54      ^\        T4      ) ;'       g    R  #   \         d   p\        R\        T4       24      ThR p?ii ; i)Nz,  z(Repr.indent cannot be negative int (was )rD   z,
z,Repr.indent must be a str, int or None, not )	r:   rI   
isinstancer-   
ValueErrorr.   	TypeErrorrG   len)r   piecesrL   r:   seperrors   &&&   r   _join
Repr._join]   s    ;;99V$$fc""z >vjJ  cMF	4==5014>>C
 xx)f)b)*1c&k\-A-ATBB	  	>tF|nM	s   -(C C+C&&C+c                   \        V4      pV^ 8:  d   V'       d   V P                  pMV^,
          p	V P                  p
\        W4       Uu. uF
  q! W4      NK  	  ppWu8  d   VP	                  V P                  4       V P                  W4      pV^8X  d   V'       d   V P                  f	   Wd,           pV: V: V: 2# u upi )    )rY   r   r?   r   appendr]   r:   )r   r@   rL   leftrightmaxitertrailnsnewlevelr?   elemrZ   s   &&&&&&&      r   _repr_iterableRepr._repr_iterableq   s    FA:!AqyHJJE8>q8JK8JeD+8JFK{dnn-

6)AAv%DKK$7E** Ls   
B>c                @    V P                  WR RV P                  R4      # )(rU   ,)rj   r/   r   r@   rL   s   &&&r   
repr_tupleRepr.repr_tuple   s    ""1S#t}}cJJr!   c                >    V P                  WR RV P                  4      # )[])rj   r0   ro   s   &&&r   	repr_listRepr.repr_list   s    ""1S#t||DDr!   c                    V'       g   R VP                   ,          # RVP                   ,          pV P                  WVRV P                  4      # )zarray('%s')zarray('%s', []))typecoderj   r1   )r   r@   rL   headers   &&& r   
repr_arrayRepr.repr_array   s=     1::-- 1::-""1VT4==IIr!   c                h    V'       g   R # \        V4      pV P                  WRRV P                  4      # )zset(){})_possibly_sortedrj   r3   ro   s   &&&r   repr_setRepr.repr_set   s-    Q""1S#t{{CCr!   c                h    V'       g   R # \        V4      pV P                  WRRV P                  4      # )zfrozenset()zfrozenset({z}))r   rj   r4   ro   s   &&&r   repr_frozensetRepr.repr_frozenset   s4     Q""1]D#'#4#46 	6r!   c                >    V P                  WR RV P                  4      # )zdeque([rx   )rj   r5   ro   s   &&&r   
repr_dequeRepr.repr_deque   s    ""1YdmmLLr!   c                   \        V4      pV^ 8X  d   R# V^ 8:  d   RV P                  ,           R,           # V^,
          pV P                  p. p\        \	        V4      V P
                  4       F2  pV! Wt4      pV! W,          V4      p	VP                  V: RV	: 24       K4  	  W0P
                  8  d   VP                  V P                  4       V P                  Wb4      p
RV
: R2# )r`   z{}r~   r   z: )rY   r   r?   r   r   r2   ra   r]   )r   r@   rL   rf   rh   r?   rZ   r   keyreprvalreprrg   s   &&&        r   	repr_dictRepr.repr_dict   s    F6A:'#--19

*1-t||<CC*GAFH-GMMgw78 = ||MM$..)JJv%}r!   c                   \         P                  ! VR V P                   4      p\        V4      V P                  8  d   \	        ^ V P                  ^,
          ^,          4      p\	        ^ V P                  ^,
          V,
          4      p\         P                  ! VR V V\        V4      V,
          R  ,           4      pVR V V P
                  ,           V\        V4      V,
          R  ,           pV# r   )r%   rA   r6   rY   maxr   r   r@   rL   rg   ijs   &&&   r   repr_strRepr.repr_str   s    MM!OT^^,-q6DNN"Aq(1,-AAt~~a')*AaeaAq	l23A"1&3q6!895Ar!   c                    \         P                  ! V4      p\        T4      T P                  8  dy   \        ^ T P                  ^,
          ^,          4      p	\        ^ T P                  ^,
          T	,
          4      p
TRT	 T P                   ,           T\        T4      T
,
          R ,           pT#   \         d   pR \        T4      9   g   Q h^ RIp^ RIp^\        TP                  \        T4      4      4      ,           pTP                  4       pRTP                  P                   RT RT R\        T4      R R2	u Rp?# Rp?ii ; i)zsys.set_int_max_str_digits()N<z instance with roughly z digits (limit at z) at 0xr@   >)r%   rA   rW   r,   mathsysr-   log10absget_int_max_str_digits	__class__r   r	   rY   r7   r   r   )r   r@   rL   rg   excr   r   k
max_digitsr   r   s   &&&        r   repr_intRepr.repr_int   s   	Ga A q6DLL AQ*+AAt||A~a'(A"1&3q6!895A%  	G1SX===  C

3q6*++A 335J,,--DQC H((2|72a5)1F G	Gs   B, ,E7B D=7E=Ec                    \         P                  ! V4      p\        T4      T P                  8  dy   \        ^ T P                  ^,
          ^,          4      p\        ^ T P                  ^,
          T,
          4      pTRT T P                  ,           T\        T4      T,
          R ,           pT#   \         d,    R TP                  P                  \        T4      3,          u # i ; i)z<%s instance at %#x>N)
r%   rA   	Exceptionr   r   r	   rY   r8   r   r   r   s   &&&   r   rK   Repr.repr_instance   s    	Ja A
 q6DMM!Aa!+,AAt}}Qq()A"1&3q6!895A  	J)Q[[-A-A2a5,III	Js   B, ,3C"!C")r   r:   r1   r5   r2   r4   r.   r0   r7   r8   r3   r6   r/   )rT   )r   r   r   __firstlineno__rJ   r<   rA   r?   r]   rj   rp   ru   r{   r   r   r   r   r   r   rK   __static_attributes____classdictcell__)__classdict__s   @r   r   r   &   s     
zZ
zz
G&'12=>HI +,8:DF   % .2&,,(C(+KEJD6M$. r!   c                 R     \        V 4      #   \         d    \        T 4      u # i ; ir   )sortedr   r&   )r@   s   &r   r   r      s)    ay Aws   
 &&)r   rA   r"   )r9   )r   __all__r%   	itertoolsr   _threadr   r"   r   r   aReprrA   r   r!   r   <module>r      s?    M
,   :s sl 	zzr!   