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
24
Y\¬Qc@sudZddlmZddlmZmZiidd6d6ZiZd„Zd„Z    d    ej
fd
„ƒYZ d S( s?Fix incompatible renames
 
Fixes:
  * sys.maxint -> sys.maxsize
i(t
fixer_base(tNamet
attr_chaintmaxsizetmaxinttsyscCsddjtt|ƒƒdS(Nt(t|t)(tjointmaptrepr(tmembers((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyt
alternatessccsoxhtjƒD]Z\}}xK|jƒD]=\}}|t||f<d|||fVd||fVq&Wq WdS(Ns£
                  import_from< 'from' module_name=%r 'import'
                      ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
                  s^
                  power< module_name=%r trailer< '.' attr_name=%r > any* >
                  (tMAPPINGtitemstLOOKUP(tmoduletreplacetold_attrtnew_attr((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyt build_patterns
 
t
FixRenamescBs8eZeZdjeƒƒZdZd„Zd„Z    RS(RtprecsUtt|ƒj‰ˆ|ƒ}|rQt‡fd†t|dƒDƒƒrMtS|StS(Nc3s|]}ˆ|ƒVqdS(N((t.0tobj(tmatch(sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pys    <genexpr>5stparent(tsuperRRtanyRtFalse(tselftnodetresults((Rsa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyR1s %cCsi|jdƒ}|jdƒ}|re|rett|j|jfƒ}|jt|d|jƒƒndS(Nt module_namet    attr_nametprefix(tgettunicodeRtvalueRRR$(RR R!tmod_nameR#R((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyt    transform>s
 (
t__name__t
__module__tTruet BM_compatibleR    RtPATTERNtorderRR)(((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyR*s
     N( t__doc__tRt
fixer_utilRRRRR RtBaseFixR(((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_renames.pyt<module>s