Your IP : 3.145.196.175
�
`Ofc@sydZddlmZddlmZmZmZmZmZm Z m
Z
mZmZm
Z
dejfd��YZdS(soFixer for execfile.
This converts usages of the execfile function into calls to the built-in
exec() function.
i(t
fixer_base(
tCommatNametCalltLParentRParentDottNodetArgListtStringtsymstFixExecfilecBseZeZdZd�ZRS(s�
power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
|
power< 'execfile' trailer< '(' filename=any ')' > >
cCs�|d}|jd�}|jd�}|jdjdj�}t|j�t�tdd�gd|�}ttjt d�|g�}ttj
t�t d �g�ttj
t�t
�g�g} |g| }
|j�}d
|_tdd
�}|
t�|t�|g}
tt d�|
d
�}|g}|dk re|jt�|j�g�n|dk r�|jt�|j�g�ntt d�|d|j�S(Ntfilenametglobalstlocalsi����s"rb"t trparenuopenureadu u'exec'ucompileuuexectprefix(tgettchildrentcloneRRR RR
tpowerRttrailerRRRRRtNonetextend(tselftnodetresultsRR
Rtexecfile_parent open_argst open_calltreadt open_exprtfilename_argtexec_strtcompile_argstcompile_calltargs((s2/usr/lib64/python2.7/lib2to3/fixes/fix_execfile.pyt transforms*
$ !
(t__name__t
__module__tTruet
BM_compatibletPATTERNR&(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_execfile.pyRsN(t__doc__tRt
fixer_utilRRRRRRRRR R
tBaseFixR(((s2/usr/lib64/python2.7/lib2to3/fixes/fix_execfile.pyt<module>sF