Your IP : 3.144.29.103


Current Path : /opt/alt/python313/lib64/python3.13/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/__pycache__/codeop.cpython-313.pyc

�

*}g����SrSSKrSSKr\RVs/sHn\"\U5PM snr/SQrSrSrSr	Sr
SSjrSS	jr"S
S5r
"SS
5rgs snf)aAUtilities 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_command�Compile�CommandCompileriii@c��URS5H'nUR5nU(dMUSS:wdM' O
 US:waSn[R"5 [R"S[
[45 U"XU5 SSS5 U"XUSS9$![aK U"US-X#5 SSS5 g![anSnASSS5 gSnAf[anSnAN\SnAff=ff=f!,(df   Nn=f)	N�
r�#�eval�pass�ignoreF)�incomplete_input)	�split�strip�warnings�catch_warnings�simplefilter�
SyntaxWarning�DeprecationWarning�SyntaxError�_IncompleteInputError)�compiler�source�filename�symbol�line�es      �-/opt/alt/python313/lib64/python3.13/codeop.py�_maybe_compiler2s������T�"���z�z�|���4�D��G�s�N��#�
�V���F�
�	 �	 �	"����h��8J�(K�L�		��V�v�.�
#��F�f�u�E�E���	�
���$���9��
#�	"��)�
��
#�	"���
���
��
	��	
#�	"�sZ�"C.�=	B�
C+�!B7�-C.�7
C'�C+�C.�
C'�C+� C.�"C'�'C+�+C.�.
C<c�P�SnU(aU[-nU[-n[XX$5$)Nr)�PyCF_ALLOW_INCOMPLETE_INPUT�PyCF_DONT_IMPLY_DEDENT�compile)rrrr�flagss     r�_compiler#Ms-��
�E��
�,�,��
�'�'���6�V�3�3�c�$�[[XU5$)aUCompile 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).
)rr#)rrrs   rrrTs��&�(�F�f�=�=r$c�(�\rSrSrSrSrSSjrSrg)r�iz�Instances 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�(�[[-Ulg�N)r rr"��selfs r�__init__�Compile.__init__ns��+�.I�I��
r$c�F�X@R-nURSS5SLaU[)-nU[)-n[	XX4S5nU[
-(aU$[HBnURUR-(dM#U=RUR-slMD U$)NrTF)	r"�getr rr!�
PyCF_ONLY_AST�	_features�co_flags�
compiler_flag)r+rrrr"�kwargs�codeob�features        r�__call__�Compile.__call__qs���
������:�:�(�$�/�5�8��,�,�,�E��1�1�1�E���6�$�?���=� ��M� �G�����!6�!6�6�6��
�
�g�3�3�3�
�!��
r$)r"N)r��__name__�
__module__�__qualname__�__firstlineno__�__doc__r,r7�__static_attributes__�r$rrris��$�J�r$rc�(�\rSrSrSrSrSSjrSrg)r�~aInstances 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�"�[5Ulgr))rrr*s rr,�CommandCompiler.__init__�s���	��
r$c�0�[URXU5$)aMCompile 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).
)rr)r+rrrs    rr7�CommandCompiler.__call__�s��&�d�m�m�V�v�F�Fr$)rN�z<input>�singler9r@r$rrr~s��$�"�Gr$r)TrG)r>�
__future__r�all_feature_names�getattrr1�__all__r r0rrr#rrr)�fnames0r�<module>rNs��� �D��%�6�6�
8�6���Z��
'�6�
8�	�<��
���
�$��F�64�>�*��*G�G��q
8s�A

?>