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_exitfunc.pyc
ó
—|_c@sgdZddlmZmZddlmZmZmZmZm	Z	m
Z
dejfd„ƒYZdS(s7
Convert use of sys.exitfunc to use the atexit module.
i˙˙˙˙(tpytreet
fixer_base(tNametAttrtCalltCommatNewlinetsymstFixExitfunccBs5eZeZeZdZd„Zd„Zd„ZRS(s”
              (
                  sys_import=import_name<'import'
                      ('sys'
                      |
                      dotted_as_names< (any ',')* 'sys' (',' any)* >
                      )
                  >
              |
                  expr_stmt<
                      power< 'sys' trailer< '.' 'exitfunc' > >
                  '=' func=any >
              )
              cGstt|ƒj|ŒdS(N(tsuperRt__init__(tselftargs((s0/usr/lib/python2.7/lib2to3/fixes/fix_exitfunc.pyR
scCs&tt|ƒj||ƒd|_dS(N(R	Rt
start_treetNonet
sys_import(Rttreetfilename((s0/usr/lib/python2.7/lib2to3/fixes/fix_exitfunc.pyR
!scCs d|kr/|jdkr+|d|_ndS|djƒ}d|_tjtjtt	dƒt	dƒƒƒ}t
||g|jƒ}|j|ƒ|jdkrş|j|dƒdS|jj
d}|jtjkr|jtƒƒ|jt	ddƒƒn—|jj}|j
j|jƒ}|j}	tjtjt	d	ƒt	ddƒgƒ}
tjtj|
gƒ}|j|dtƒƒ|j|d
|ƒdS(NRtfuncuuatexituregistersKCan't find sys import; Please add an atexit import at the top of your file.iu uimporti(RRtclonetprefixRtNodeRtpowerRRRtreplacetwarningtchildrenttypetdotted_as_namestappend_childRtparenttindextimport_nametsimple_stmttinsert_childR(RtnodetresultsRtregistertcalltnamestcontaining_stmttpositiontstmt_containert
new_importtnew((s0/usr/lib/python2.7/lib2to3/fixes/fix_exitfunc.pyt	transform%s2	
	(	t__name__t
__module__tTruetkeep_line_ordert
BM_compatibletPATTERNR
R
R,(((s0/usr/lib/python2.7/lib2to3/fixes/fix_exitfunc.pyRs		N(
t__doc__tlib2to3RRtlib2to3.fixer_utilRRRRRRtBaseFixR(((s0/usr/lib/python2.7/lib2to3/fixes/fix_exitfunc.pyt<module>s.

Youez - 2016 - github.com/yon3zu
LinuXploit