tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Y\¬Qc@sydZddlmZddlmZmZmZmZmZm    Z    m
Z
m Z m 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(
tCommatNametCalltLParentRParentDottNodetArgListtStringtsymst FixExecfilecBseZeZdZd„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ƒ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(Ntfilenametglobalstlocalsiÿÿÿÿtrparenuopenureadu u'exec'ucompileuuexectprefix(tAssertionErrortgettchildrentcloneRRR
tpowerRttrailerRRRRR    RRtNonetextend(tselftnodetresultsR R Rtexecfile_parent    open_argst    open_calltreadt    open_exprt filename_argtexec_strt compile_argst compile_calltargs((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_execfile.pyt    transforms* 
!            (t__name__t
__module__tTruet BM_compatibletPATTERNR&(((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_execfile.pyR sN(t__doc__tRt
fixer_utilRRRRRRRRR    R
tBaseFixR (((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_execfile.pyt<module>sF