Hacked By AnonymousFox

Current Path : /opt/alt/python36/lib64/python3.6/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/lib2to3/fixes/__pycache__/fix_execfile.cpython-36.opt-2.pyc

3

��2a�@sRddlmZddlmZmZmZmZmZmZm	Z	m
Z
mZmZGdd�dej
�ZdS)�)�
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&|d}|jd�}|jd�}|jdjdj�}t|j�t�tdd�g|d�}ttjt	d�|g�}ttj
t�t	d	�g�ttj
t�t
�g�g}	|g|	}
|j�}d|_td
d�}|
t�|t�|g}
tt	d�|
d�}|g}|dk	r�|jt�|j�g�|dk	�r|jt�|j�g�tt	d
�||jd�S)N�filename�globals�locals�z"rb"� )Zrparen�open�readz'exec'�compile��exec)�prefix���r)�getZchildrenZcloner
rrr	rZpowerrZtrailerrrrrr�extend)�selfZnode�resultsrrrZexecfile_parenZ	open_argsZ	open_callrZ	open_exprZfilename_argZexec_strZcompile_argsZcompile_call�args�r�1/opt/alt/python36/lib64/python3.6/fix_execfile.py�	transforms*




zFixExecfile.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr!rrrr r
sr
N)rrZ
fixer_utilrrrrrrr	r
rrZBaseFixr
rrrr �<module>
s0

Hacked By AnonymousFox1.0, Coded By AnonymousFox