
    2Bh                     x    S r SSKrSSKrSSKrSSKrSS/r\R                  " S5      r " S S5      rS
S jr	S	 r
g)zPThe debug module contains utilities and functions for better
debugging Gunicorn.    Nspewunspewz\W+c                   $    \ rS rSrSS jrS rSrg)Spew   Nc                     Xl         X l        g )Ntrace_namesshow_values)selfr
   r   s      @/var/www/html/env/lib/python3.13/site-packages/gunicorn/debug.py__init__Spew.__init__   s    &&    c                    US:X  Ga  UR                   nSUR                  ;   af  UR                  S   nUR                  S5      (       d  UR                  S5      (       a  US S nUR                  S   n[        R                  " XT5      nOSn [
        R                  " U5      nX   nU R                  b  X`R                  ;   a  [        U< S	U< S
UR                  5       < 35        U R                  (       d  U $ / n	[        R!                  U5      n
U
 Hm  nXR                  ;   a%  U	R#                  U< SUR                  U   < 35        XR$                  ;   d  MH  U	R#                  U< SUR$                  U   < 35        Mo     U	(       a  [        SSR'                  U	5      -  5        U $ ! [         a)    SUR                  R                  UR                  4-  n GN5f = f)Nline__file__z.pycz.pyo__name__z	[unknown]z,Unknown code named [%s].  VM instruction #%d:z: =z	%s )f_lineno	f_globalsendswith	linecachegetlineinspectgetsourcelinesOSErrorf_codeco_namef_lastir
   printrstripr   _token_splitersplitappendf_localsjoin)r   frameeventarglinenofilenamenamer   srcdetailstokenstoks               r   __call__Spew.__call__   s   F?^^FU__, ??:6%%f-- ))&11'}Hz2 ((:"=!007C;D '43C3C+CT64;;=AB''K'--d3!Coo-#us7K'LMnn,#u~~c7J'KL	 "
 &388G#445!  =I,,emmM= =D=s   F* */GG)r   r
   )NT)r   
__module____qualname____firstlineno__r   r5   __static_attributes__ r   r   r   r      s    'r   r   c                 B    [         R                  " [        X5      5        g)zhInstall a trace hook which writes incredibly detailed logs
about what code is being executed to stdout.
N)syssettracer   r	   s     r   r   r   :   s     LLk/0r   c                  0    [         R                  " S5        g)z-Remove the trace hook installed by spew.
    N)r=   r>   r;   r   r   r   r   A   s     LLr   )NF)__doc__r=   r   rer   __all__compiler&   r   r   r   r;   r   r   <module>rD      sE   
   	 8
F#% %P1r   