Your IP : 18.118.164.100
�
��f� c @ s_ d Z d d l m Z d d l m Z d d l m Z m Z m Z Gd d � d e j � Z d S( u� Fixer for exec.
This converts usages of the exec statement into calls to a built-in
exec() function.
exec code in ns1, ns2 -> exec(code, ns1, ns2)
i ( u pytree( u
fixer_base( u Commau Nameu Callc B s, | Ee Z d Z d Z d Z d d � Z d S( u FixExecux
exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
|
exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
c C s� | s t � | j } | d } | j d � } | j d � } | j � g } d | d _ | d k r� | j t � | j � g � n | d k r� | j t � | j � g � n t t d � | d | j �S( Nu au bu cu i u execu prefix(
u AssertionErroru symsu getu cloneu prefixu Noneu extendu Commau Callu Name( u selfu nodeu resultsu symsu au bu cu args( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu transform s
u FixExec.transformNT( u __name__u
__module__u __qualname__u Trueu
BM_compatibleu PATTERNu transform( u
__locals__( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu FixExec s u FixExecN(
u __doc__u u pytreeu
fixer_baseu
fixer_utilu Commau Nameu Callu BaseFixu FixExec( ( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu <module>
s