403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/lib2to3/fixes/fix_renames.pyc
ó
—|_c@sudZddlmZddlmZmZiidd6d6ZiZd„Zd„Z	d	ej
fd
„ƒYZdS(s?Fix incompatible renames

Fixes:
  * sys.maxint -> sys.maxsize
i(t
fixer_base(tNamet
attr_chaintmaxsizetmaxinttsyscCsddjtt|ƒƒdS(Nt(t|t)(tjointmaptrepr(tmembers((s//usr/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((s//usr/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(s//usr/lib/python2.7/lib2to3/fixes/fix_renames.pys	<genexpr>5stparent(tsuperRRtanyRtFalse(tselftnodetresults((Rs//usr/lib/python2.7/lib2to3/fixes/fix_renames.pyR1s%cCsi|jdƒ}|jdƒ}|re|rett|j|jfƒ}|jt|d|jƒƒndS(Ntmodule_namet	attr_nametprefix(tgettunicodeRtvalueRRR$(RR R!tmod_nameR#R((s//usr/lib/python2.7/lib2to3/fixes/fix_renames.pyt	transform>s
(
t__name__t
__module__tTruet
BM_compatibleR	RtPATTERNtorderRR)(((s//usr/lib/python2.7/lib2to3/fixes/fix_renames.pyR*s
	
N(t__doc__tRt
fixer_utilRRRRR
RtBaseFixR(((s//usr/lib/python2.7/lib2to3/fixes/fix_renames.pyt<module>s		

Youez - 2016 - github.com/yon3zu
LinuXploit