+
    :i                     l   ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RIH	t	  ! R R]P                  4      t]! 4       tR tR tR	 tR
 tR tR tR t]	P(                  '       dK   ]P*                  ! R4      t]P/                  ]P0                  4       ]P2                  ! 4       .]n        ]t]tR# ]t]tR# )    N)wraps)chain)configc                   *   a  ] tR t^t o RtR tRtV tR# )TLSzGUse a subclass to properly initialize the TLS variables in all threads.c                "    R V n         ^ V n        R# )FN)tracingindent)selfs   &P/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/core/tracing.py__init__TLS.__init__   s        )r
   r	   N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     Q r   r   c                   \        V RR4      p\        V RR4      p\        V RR4      pRpV'       d   VP                  pM\        VP                  4      '       d7   VP                  ^ ,          R8X  d   V^ ,          P                  P                  pMF\        VP                  4      '       d,   VP                  ^ ,          R8X  d   V^ ,          P                  pV'       d   . pV'       d*   VR8w  d#   VP                  V4       VP                  R4       V'       d#   VP                  V4       VP                  R4       VP                  V4       R	P                  V4      pVR3# )
z3Return function meta-data in a tuple.

(name, type)r   Nr   __self__r   cls__main__. )getattrr   lenargs	__class__appendjoin)funcspecr    modulenamer   cnameqnames   &&&     r   find_function_infor*      s   
 T<.F4T*D4T*DE 
TYYDIIaLF2Q!!**	TYYDIIaLE1Q  f
*LL LLLLLLTwwu~:r   c                 t    R p\        V 4      p\        V4      V8  d   VRV R,           VR,          ,           # V# )i@  Nz...)reprr   )valueMAX_SIZEss   &  r   chopr1   6   s;    HUA
1v(|e#ae++r   c                 h   \        4       pVP                  '       dA   \        \        VP                  \	        VP                  4      ) R  VP                  4      4      pVP                  V4       VP                  \        \        VP                  R \	        V4       V4      4      4       VP                   Uu. uF  qU: RVP                  V4      : 2NK  	  ppV\	        V4      R   Uu. uF  p\        V4      NK  	  pp\        VP                  4       4       Uu. uF  q: RWH,          : 2NK  	  p	pRP                  \        WgV	4       U
u. uF  q'       g   K  V
NK  	  up
4      pR\        P                  R,          V RVR.pR\        P                  R,          V .pW3# u upi u upi u upi u up
i )N=, z>>  ()z<< )dictdefaultszipr    r   updatelistpopstrsortedkeysr#   r   tlsr
   )fnamer%   r    kwdsvaluesa
positional	anonymouskkeywordsfparamsenterleaves   &&&&          r   create_eventsrN   ?   sV   VF}}}c$))S%7$7$9:DMMJK
MM$
MM$s499[s4y1489:8<		B	1Q

1.	JB!%c*o&7!89!8AQ!8I9282GH2GQ1fi(2GHHYY5#IO#IaQ#IOPFCJJ$eS&#>ECJJ$e,E< C9HOs   6 F (F%F*	F/F/c                 $   VP                  RR4      pR p\        V 4      ;'       d    V ^ ,          ;'       g    RpV'       d   \        h\        V4      '       g   \        V4      \        \        39   d	   V! V4      # \        V\        4      '       d~   RRRrpVP                   '       d   V! VP                   4      pVP"                  '       d   V! VP"                  4      p	VP$                  '       d   V! VP$                  4      p
\        WV
4      # V# )zFunction decorator to trace a function's entry and exit.

*args: categories in which to trace this function. Example usage:

@trace
def function(...):...

@trace('mycategory')
def function(...):...


	recursiveFc                   a aa R o\         P                  ! R4      oV VV3R lpR p\        S \        4      '       d(   \	        S 4      pS P                  R4      P                  o MO\        S \        4      '       d   \	        S 4      pS P                  R4      o M\        S \        4      '       d   \        h\        P                  ! S 4      oV! \        S 4      ! V4      4      # )Ntracec                  @  < SP                  \        P                  4      '       d   \        P                  '       d	   S! V / VB # \        SSV 4      w  r# R \        n        \        VSW4      w  rE SP                  RP                  V4      4       \        ;P                  ^,          un	          R\        n        S! V / VB pR \        n         Ve,   VP                  R4       VP                  \        V4      4       \        ;P                  ^,          un	        SP                  RP                  T4      4        R\        n        T#   R \        n        i ; i   \        P                  ! 4       w  rxp	TP                  R4       TP                  p
T
R8w  d#   TP                  T
4       TP                  R4       TP                  TP                  4       TP                   '       dU   TP                  R4       TP                  RP                  R	 TP                    4       4      4       TP                  R
4       h TP                  R4       h ; i  \        ;P                  ^,          un	        SP                  RP                  T4      4       i ; i  R\        n        i ; i)Tr   Fz -> z => exception thrown
	raise r   r   r6   r4   c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)r1   ).0vs   & r   	<genexpr>>dotrace.<locals>.decorator.<locals>.wrapper.<locals>.<genexpr>   s     2OJq477Js   r7   z())isEnabledForloggingINFOrA   r	   r*   rN   infor#   r
   r"   r1   sysexc_infor   r   r    )r    rC   rB   ftyperL   rM   resulttyper.   	tracebackmnamer$   loggerr%   s   *,         r   wrapper+dotrace.<locals>.decorator.<locals>.wrapperc   s   &&w||44T*T**-dD$?LE$$",UD$E0KK/JJ!OJ7/*/CK%)4%84%8F*.CK" "-!LL0!LLf6JJ!OJKK/#M3 +/CK14.Y%EF $ J.!LL/!LL-T]]3 :::!LL-!LL2OEJJ2O)OP!LL-  "LL. JJ!OJKK/#sV   J 0=I /E E /I ==J EE BI%A&II ?JJ Jc                     V # rU    )xs   &r   <lambda>,dotrace.<locals>.decorator.<locals>.<lambda>   s    1r   T)r[   	getLogger
isinstanceclassmethodrb   __get____func__staticmethodpropertyNotImplementedErrorinspectgetfullargspecr   )r$   rf   rewrapre   r%   s   f  @@r   	decoratordotrace.<locals>.decorator_   s    ""7++	^  dK(($ZF<<%..Dl++$ZF<<%Dh''%%%%d+eDk'*++r   N)getr   rt   ru   ismodule
getmembers
isfunctionsetattrisclassdotracecallablerb   ro   rr   rn   rs   fgetfsetfdel)r    rC   rP   rx   arg0nrJ   cpgetpsetpdels   *,         r   r   r   O   s     e,IB,H t9  a((DD!! ~~d\'BB	D(	#	#  tD999TYY'D999TYY'D999TYY'DD)) r   c                     R p\        V 4      ;'       d    V ^ ,          ;'       g    Rp\        V4      '       g   \        V4      \        \        39   d	   V! V4      # V# )z)Just a no-op in case tracing is disabled.c                     V # rU   ri   )r$   s   &r   rx   notrace.<locals>.decorator   s    r   N)r   r   rb   ro   rr   )r    rC   rx   r   s   *,  r   notracer      sO     t9  a((DD~~d\'BBr   c                     R \         P                  R,          V .p \        P                  ! R4      pVP	                  RP                  V 4      4       R# )z== r5   rR   r   N)rA   r
   r[   rm   r]   r#   )msgre   s   & r   doeventr      s;    #**s"C
(Cw'F
KKr   c                     R # rU   ri   )r   s   &r   noeventr      s    r   rR   )ru   r[   r^   	threading	functoolsr   	itertoolsr   
numba.corer   localr   rA   r*   r1   rN   r   r   r   r   TRACErm   re   setLevelr\   StreamHandlerhandlersrR   eventri   r   r   <module>r      s      
    )//  
e@ rj	 
<<<w'F
OOGLL!,,./FOEEEEr   