
    z%i                         	 d dl Z d dlZe j                  D  cg c]  }  ee |        c} Zg dZdZdZd Zd Z	d Z
ddZ G d	 d
      Z G d d      Zyc c} w )    N)compile_commandCompileCommandCompileri   i @  c                    |j                  d      D ]  }|j                         }|s|d   dk7  s n |dk7  rd}t        j                         5  t        j                  dt
        t        f       	  | |||       d d d         | |||      S # t        $ rL 	  | |dz   ||       Y d d d        y # t        $ r%}dt        |      v rY d }~Y d d d        y Y d }~nd }~ww xY wY fw xY w# 1 sw Y   kxY w)N
r   #evalpassignorezincomplete input)	splitstripwarningscatch_warningssimplefilterSyntaxWarningDeprecationWarningSyntaxErrorstr)compilersourcefilenamesymbollinees         :/home/uftp/.pyenv/versions/3.12.0/lib/python3.12/codeop.py_maybe_compiler   1   s   T" zz|DGsN
 VF 
	 	 	" 
 h8J(KL	 VXv.
  FHf--  	  $&9
  
    %Q/
  
  0 /	 	
  
 s`   !C%1
B	C"B.$C%.	C7CC"C%C"CC"C%!C""C%%C.c                 N    t        |       }t        |      }d|v rd|v ry||k(  ryy)Nzwas never closedFT)repr)err1err2rep1rep2s       r   _is_syntax_errorr#   L   s4    :D:DT!&8D&@t|    c                 4    t        | ||t        t        z        S N)compilePyCF_DONT_IMPLY_DEDENTPyCF_ALLOW_INCOMPLETE_INPUTr   r   r   s      r   _compiler+   U   s    68V-CFa-abbr$   c                 (    	 t        t        | ||      S r&   )r   r+   r*   s      r   r   r   X   s    $ (FHf==r$   c                       e Zd Z	 d Zd Zy)r   c                 (    t         t        z  | _        y r&   )r(   r)   flagsselfs    r   __init__zCompile.__init__r   s    +.II
r$   c                     t        |||| j                  d      }t        D ];  }|j                  |j                  z  s| xj                  |j                  z  c_        = |S )NT)r'   r/   	_featuresco_flagscompiler_flag)r1   r   r   r   codeobfeatures         r   __call__zCompile.__call__u   sT    64::tD  	4G!6!66

g333
	4 r$   N__name__
__module____qualname__r2   r9    r$   r   r   r   m   s    $Jr$   r   c                       e Zd Z	 d ZddZy)r   c                 "    t               | _        y r&   )r   r   r0   s    r   r2   zCommandCompiler.__init__   s    	r$   c                 4    	 t        | j                  |||      S r&   )r   r   )r1   r   r   r   s       r   r9   zCommandCompiler.__call__   s    	$ dmmVXvFFr$   Nz<input>singler:   r>   r$   r   r   r   |   s    $"Gr$   r   rB   )
__future__r   all_feature_namesgetattrr4   __all__r(   r)   r   r#   r+   r   r   r   )fnames   0r   <module>rI      s    D   %668 Z' 8	 <
  $ .6c>* G Gm8s   A