+
    i  c                   s    R t ^ RIt^ RIt]P                   U u. uF  p ]! ]V 4      NK  	  up t. ROtRtRtRt	R t
RR^ /R	 lltRR
 lt ! R R4      t ! R R4      tR# u up i )aA  Utilities to compile possibly incomplete Python source code.

This module provides two interfaces, broadly similar to the builtin
function compile(), which take program text, a filename and a 'mode'
and:

- Return code object if the command is complete and valid
- Return None if the command is incomplete
- Raise SyntaxError, ValueError or OverflowError if the command is a
  syntax error (OverflowError and ValueError can be produced by
  malformed literals).

The two interfaces are:

compile_command(source, filename, symbol):

    Compiles a single command in the manner described above.

CommandCompiler():

    Instances of this class have __call__ methods identical in
    signature to compile_command; the difference is that if the
    instance compiles program text containing a __future__ statement,
    the instance 'remembers' and compiles all subsequent program texts
    with the statement in force.

The module also provides another class:

Compile():

    Instances of this class act like the built-in function compile,
    but with 'memory' in the sense described above.
NCompileCommandCompileri   i   i @  c           
      s>   VP                  R 4       F-  pVP                  4       pV'       g   K  V^ ,          R8w  g   K-   M	  VR8w  d   Rp\        P                  ! 4       ;_uu_ 4        \        P                  ! R\
        \        34        V ! WW4R7       RRR4       T ! YTRR7      #   \         dV     T ! TR ,           Y#TR7        RRR4       R#   \         d   p Rp? RRR4       R# Rp?i\         d   p Rp? LjRp?ii ; ii ; i  + '       g   i     L~; i)	Z
Z#ZevalZpassZignoreflagsNF)incomplete_input)	ZsplitZstripwarningsZcatch_warningsZsimplefilterZSyntaxWarningZDeprecationWarningZSyntaxErrorZ_IncompleteInputError)compilersourcefilenamesymbolr   ZlineZes   &&&&&  /usr/lib64/python3.14/codeop.py_maybe_compiler   2   s    T"zz|4DGsN #
 VF 
	 	 	"	"h8J(KL		Vv; 
# FfuEE  	$F 
#	" )  
#	"  		 
#	"s`   )"D
B))D	5CDD	D	!D,D	9D	:D	>D D	D		DD	r   c                s^    V'       d   V\         ,          pV\        ,          p\        WW$4      # N)PyCF_ALLOW_INCOMPLETE_INPUTPyCF_DONT_IMPLY_DEDENTcompile)r   r   r	   r   r   s   &&&&$r
   _compiler   M   s(    ,,''6V33    c                s$    \        \        WW#4      # )aU  Compile a command and determine whether it is incomplete.

Arguments:

source -- the source string; may contain \n characters
filename -- optional filename from which source was read; default
            "<input>"
symbol -- optional grammar start symbol; "single" (default), "exec"
          or "eval"

Return value / exceptions raised:

- Return a code object if the command is complete and valid
- Return None if the command is incomplete
- Raise SyntaxError, ValueError or OverflowError if the command is a
  syntax error (OverflowError and ValueError can be produced by
  malformed literals).
)r   r   )r   r   r	   r      &&&&r
   compile_commandr   S   s    & (FfDDr   c                   s4   a  ] tR t^ht o RtR tRR ltRtV tR# )r    zInstances of this class behave much like the built-in compile
function, but if one is used to compile text containing a future
statement, it "remembers" and compiles all subsequent program texts
with the statement in force.c                s2    \         \        ,          V n        R # r   )r   r   r   self   &r
   __init__ZCompile.__init__m   s    +.II
r   c                s|   W@P                   ,          pVP                  R R4      RJ d   V\        ( ,          pV\        ( ,          p\	        WW4R4      pV\
        ,          '       d   V# \         FK  pVP                  VP                  ,          '       g   K(  V ;P                   VP                  ,          un         KM  	  V# )r   TF)	r   Zgetr   r   r   PyCF_ONLY_AST	_featuresZco_flagsZcompiler_flag)r   r   r   r	   r   ZkwargsZcodeobZfeatures   &&&&&,  r
   __call__ZCompile.__call__p   s    ::($/58,,,E111E6$?=  M G!6!666

g333
 ! r   r   N)    	Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   Z__static_attributes__Z__classdictcell__Z__classdict__   @r
   r    r    h   s     $J r   c                   s4   a  ] tR t^}t o RtR tRR ltRtV tR# )r   a  Instances of this class have __call__ methods identical in
signature to compile_command; the difference is that if the
instance compiles program text containing a __future__ statement,
the instance 'remembers' and compiles all subsequent program texts
with the statement in force.c                s$    \        4       V n        R # r   )r    r   r   r   r
   r   ZCommandCompiler.__init__   s    	r   c                sZ    \        V P                  WW0P                  P                  R7      # )aM  Compile a command and determine whether it is incomplete.

Arguments:

source -- the source string; may contain \n characters
filename -- optional filename from which source was read;
            default "<input>"
symbol -- optional grammar start symbol; "single" (default) or
          "eval"

Return value / exceptions raised:

- Return a code object if the command is complete and valid
- Return None if the command is incomplete
- Raise SyntaxError, ValueError or OverflowError if the command is a
  syntax error (OverflowError and ValueError can be produced by
  malformed literals).
r   )r   r   r   )r   r   r   r	   r   r
   r   ZCommandCompiler.__call__   s!    & dmmVv]]M`M`aar   )r   N)<input>singler   r   r   r
   r   r   }   s     $"b br   )r   r    r   )T)r    r!   r   )r   Z
__future__r   Zall_feature_namesZgetattrr   Z__all__r   r   r   r   r   r   r    r   )Zfnames   0r
   <module>r"      s    D   %6686 Z'68	 <
  $ F64q 4E* *b bo8s   A