| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/lib2to3/fixes/ |
Upload File : |
�
ۜSec @ sy d Z d d l m Z d d l m Z m Z m Z m Z m Z m Z m
Z
m Z m Z m
Z
d e j f d � � YZ d S( so Fixer for execfile.
This converts usages of the execfile function into calls to the built-in
exec() function.
i ( t
fixer_base(
t Commat Namet Callt LParent RParent Dott Nodet ArgListt Stringt symst FixExecfilec B s e Z e Z d Z d � Z RS( s�
power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
|
power< 'execfile' trailer< '(' filename=any ')' > >
c C s� | s t � | d } | j d � } | j d � } | j d j d j � } t | j � g d | �} t t j t d � | g � } t t j t
� t d � g � t t j t � t � g � g } | g | }
| j � } d | _
t d d � } |
t � | t � | g }
t t d
� |
d � } | g } | d k r_| j t � | j � g � n | d k r�| j t � | j � g � n t t d � | d
| j
�S( Nt filenamet globalst localsi����t rparenu openu readu u 'exec'u compileu u exect prefix( t AssertionErrort gett childrent cloneR R R
t powerR t trailerR R R R R R R t Nonet extend( t selft nodet resultsR R
R t execfile_parent open_argst open_callt readt open_exprt filename_argt exec_strt compile_argst compile_callt args( ( s2 /usr/lib64/python2.7/lib2to3/fixes/fix_execfile.pyt transform s*
!
( t __name__t
__module__t Truet
BM_compatiblet PATTERNR&