Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3.10/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.10/lib2to3/fixes/__pycache__/fix_execfile.cpython-310.pyc
o

��bc�@sVdZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZm
Z
Gdd�dej�ZdS)zoFixer for execfile.

This converts usages of the execfile function into calls to the built-in
exec() function.
�)�
fixer_base)
�Comma�Name�Call�LParen�RParen�Dot�Node�ArgList�String�symsc@seZdZdZdZdd�ZdS)�FixExecfileTz�
    power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
    |
    power< 'execfile' trailer< '(' filename=any ')' > >
    cCs,|sJ�|d}|�d�}|�d�}|jdjd��}t|��t�tdd�g|d�}ttjt	d�|g�}ttj
t�t	d	�g�ttj
t�t
�g�g}	|g|	}
|��}d|_td
d�}|
t�|t�|g}
tt	d�|
d�}|g}|dur~|�t�|��g�|dur�|�t�|��g�tt	d
�||jd�S)N�filename�globals�locals���z"rb"� )�rparen�open�readz'exec'�compile��exec)�prefix)�get�children�cloner
rrr	r�powerr�trailerrrrrr�extend)�self�node�resultsrrr�execfile_paren�	open_args�	open_callr�	open_expr�filename_arg�exec_str�compile_args�compile_call�args�r,�1/usr/lib/python3.10/lib2to3/fixes/fix_execfile.py�	transforms0

��

zFixExecfile.transformN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr.r,r,r,r-r
sr
N)�__doc__rr�
fixer_utilrrrrrrr	r
rr�BaseFixr
r,r,r,r-�<module>s0

Spamworldpro Mini