Your IP : 18.217.241.235


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/fix_execfile.cpython-33.pyc

�
��f�c@sydZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZm
Z
Gdd�dej�ZdS(uoFixer for execfile.

This converts usages of the execfile function into calls to the built-in
exec() function.
i(u
fixer_base(
uCommauNameuCalluLParenuRParenuDotuNodeuArgListuStringusymscBs,|EeZdZdZdZdd�ZdS(uFixExecfileu�
    power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
    |
    power< 'execfile' trailer< '(' filename=any ')' > >
    cCs�|st�|d}|jd�}|jd�}|jdjdj�}t|j�gd|�}ttjtd�|g�}ttj	t
�td�g�ttj	t�t�g�g}	|g|	}
|j�}d|_
td	d�}|
t�|t�|g}
ttd
�|
d�}|g}|dk	r_|jt�|j�g�n|dk	r�|jt�|j�g�nttd�|d
|j
�S(Nufilenameuglobalsulocalsiurparenuopenureadu u'exec'ucompileuuexecuprefixi����i����(uAssertionErrorugetuchildrenucloneuArgListuNodeusymsupoweruNameutraileruDotuLParenuRParenuprefixuStringuCommauCalluNoneuextend(uselfunodeuresultsufilenameuglobalsulocalsuexecfile_parenu	open_argsu	open_callureadu	open_exprufilename_arguexec_strucompile_argsucompile_calluargs((u?/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_execfile.pyu	transforms*
!
		uFixExecfile.transformNT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleuPATTERNu	transform(u
__locals__((u?/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_execfile.pyuFixExecfilesuFixExecfileN(u__doc__uu
fixer_baseu
fixer_utiluCommauNameuCalluLParenuRParenuDotuNodeuArgListuStringusymsuBaseFixuFixExecfile(((u?/opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_execfile.pyu<module>sF

?>