⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
lib2to3
/
fixes
/
__pycache__
/
View File Name :
fix_execfile.cpython-310.pyc
o bc @ sV d Z ddlmZ ddlmZmZmZmZmZm Z m Z mZmZm Z G dd dejZdS )zoFixer for execfile. This converts usages of the execfile function into calls to the built-in exec() function. ) fixer_base) CommaNameCallLParenRParenDotNodeArgListStringsymsc @ s e Zd ZdZdZdd ZdS )FixExecfileTz power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > > | power< 'execfile' trailer< '(' filename=any ')' > > c C s, |sJ |d }| d}| d}|jd jd }t| t tddg|d}ttjt d|g}ttj t t d gttj t t gg} |g| } | }d|_td d}| t |t |g } tt d| d}|g}|d ur~|t | g |d ur|t | g tt d ||jdS )Nfilenameglobalslocalsz"rb" )rparenopenreadz'exec'compile exec)prefix)getchildrencloner r r r r powerr trailerr r r r r extend)selfnoderesultsr r r execfile_paren open_args open_callr open_exprfilename_argexec_strcompile_argscompile_callargs r, 1/usr/lib/python3.10/lib2to3/fixes/fix_execfile.py transform s0 zFixExecfile.transformN)__name__ __module____qualname__ BM_compatiblePATTERNr. r, r, r, r- r s r N)__doc__r r fixer_utilr r r r r r r r r r BaseFixr r, r, r, r-
s 0