HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/lib/python2.7/lib2to3/fixes/fix_execfile.pyc
�
�I	ec@sydZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZm
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�|st�|d}|jd�}|jd�}|jdjdj�}t|j�t�tdd�gd|�}ttj	t
d�|g�}ttjt�t
d	�g�ttjt
�t�g�g}	|g|	}
|j�}d
|_tdd
�}|
t�|t�|g}
tt
d�|
d
�}|g}|dk	rq|jt�|j�g�n|dk	r�|jt�|j�g�ntt
d�|d|j�S(Ntfilenametglobalstlocalsi����s"rb"t trparenuopenureadu u'exec'ucompileuuexectprefix(tAssertionErrortgettchildrentcloneRRR	RR
tpowerRttrailerRRRRRtNonetextend(tselftnodetresultsRR
Rtexecfile_parent	open_argst	open_calltreadt	open_exprtfilename_argtexec_strtcompile_argstcompile_calltargs((s0/usr/lib/python2.7/lib2to3/fixes/fix_execfile.pyt	transforms,
$	!
		(t__name__t
__module__tTruet
BM_compatibletPATTERNR'(((s0/usr/lib/python2.7/lib2to3/fixes/fix_execfile.pyRsN(t__doc__tRt
fixer_utilRRRRRRRRR	R
tBaseFixR(((s0/usr/lib/python2.7/lib2to3/fixes/fix_execfile.pyt<module>sF