Your IP : 18.119.123.10


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.pyo

�
��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�|d}|jd�}|jd�}|jdjdj�}t|j�gd|�}ttjtd�|g�}ttjt	�td�g�ttjt
�t�g�g}	|g|	}
|j�}d|_t
d	d�}|
t�|t�|g}
ttd
�|
d�}|g}|dk	rS|jt�|j�g�n|dk	r~|jt�|j�g�nttd�|d
|j�S(Nufilenameuglobalsulocalsiurparenuopenureadu u'exec'ucompileuuexecuprefixi����i����(ugetuchildrenucloneuArgListuNodeusymsupoweruNameutraileruDotuLParenuRParenuprefixuStringuCommauCalluNoneuextend(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

?>