Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_exec.cpython-311.pyc
�

�,d���P�dZddlmZddlmZmZmZGd�dej��ZdS)z�Fixer for exec.

This converts usages of the exec statement into calls to a built-in
exec() function.

exec code in ns1, ns2 -> exec(code, ns1, ns2)
�)�
fixer_base)�Comma�Name�Callc��eZdZdZdZd�ZdS)�FixExecTzx
    exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
    |
    exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
    c���|sJ�|j}|d}|�d��}|�d��}|���g}d|d_|�5|�t��|���g��|�5|�t��|���g��t
td��||j���S)N�a�b�c���exec)�prefix)�syms�get�cloner�extendrrr)�self�node�resultsrr
rr�argss        �=/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_exec.py�	transformzFixExec.transforms��������y���C�L���K�K������K�K��������	�	�{����Q����=��K�K����!�'�'�)�)�,�-�-�-��=��K�K����!�'�'�)�)�,�-�-�-��D��L�L�$�t�{�;�;�;�;�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrrs/�������M��G�
<�
<�
<�
<�
<rrN)	�__doc__r
r�
fixer_utilrrr�BaseFixrr!rr�<module>r%sx����������*�*�*�*�*�*�*�*�*�*�<�<�<�<�<�j� �<�<�<�<�<r

ZeroDay Forums Mini