Uname: Linux server.saraya-global.com 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Tue Sep 30 05:56:43 EDT 2025 x86_64
User: 1003 (sarayaglobal)
Group: 1004 (sarayaglobal)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//lib64/python2.7      ( Reset | Go to )
File Name: runpy.pyo

zfc@s—dZddlZddlZddlmZyddlmZWn!ek
reddlmZnXddgZdefd„ƒYZ    d    efd
„ƒYZ
dddddd „Z dddddd „Z d „Zed„Zed„Zdefd„ƒYZed„Zdded„Zd„Zd„Zddd„Zedkr“eejƒdkruejdIJq“ejd=eejdƒndS(sZrunpy.py - locating and running Python code using the module namespace

Provides support for locating and running Python scripts using the Python
module namespace instead of the native filesystem.

This allows Python code to play nicely with non-filesystem based PEP 302
importers when locating support scripts as well as when importing modules.
iÿÿÿÿN(t    read_code(t
get_loadert
run_moduletrun_patht _TempModulecBs)eZdZd„Zd„Zd„ZRS(sCTemporarily replace a module in sys.modules with an empty namespacecCs(||_tj|ƒ|_g|_dS(N(tmod_nametimpt
new_moduletmodulet _saved_module(tselfR((s/usr/lib64/python2.7/runpy.pyt__init__s    cCsL|j}y|jjtj|ƒWntk
r7nX|jtj|<|S(N(RR    tappendtsystmodulestKeyErrorR(R
R((s/usr/lib64/python2.7/runpy.pyt    __enter__s     cGs=|jr#|jdtj|j<n tj|j=g|_dS(Ni(R    R RR(R
targs((s/usr/lib64/python2.7/runpy.pyt__exit__(s     (t__name__t
__module__t__doc__R RR(((s/usr/lib64/python2.7/runpy.pyRs            t_ModifiedArgv0cBs#eZd„Zd„Zd„ZRS(cCs ||_tƒ|_|_dS(N(tvaluetobjectt _saved_valuet    _sentinel(R
R((s/usr/lib64/python2.7/runpy.pyR 0s    cCsE|j|jk    r!tdƒ‚ntjd|_|jtjd<dS(NsAlready preserving saved valuei(RRt RuntimeErrorR targvR(R
((s/usr/lib64/python2.7/runpy.pyR4scGs |j|_|jtjd<dS(Ni(RRRR R(R
R((s/usr/lib64/python2.7/runpy.pyR:s (RRR RR(((s/usr/lib64/python2.7/runpy.pyR/s        c    BsJ|dk    r|j|ƒn|jd|d|d|d|ƒ||U|S(s)Helper to run code in nominated namespaceRt__file__t
__loader__t __package__N(tNonetupdate(tcodet run_globalst init_globalsRt    mod_fnamet
mod_loadertpkg_name((s/usr/lib64/python2.7/runpy.pyt    _run_code>s cCsZt|ƒB}t|ƒ-|jj}t|||||||ƒWdQXWdQX|jƒS(s5Helper to run code in new namespace with sys modifiedN(RRRt__dict__R(tcopy(R"R$RR%R&R't temp_modulet mod_globals((s/usr/lib64/python2.7/runpy.pyt_run_module_codeKs    cCs=x6dD].}t||dƒ}|dk    r||ƒSqWdS(Nt get_filenamet _get_filename(R.R/(tgetattrR (tloaderRtattrtmeth((s/usr/lib64/python2.7/runpy.pyR/\s
  cCsdy>t|ƒ}|dkr.|d|ƒ‚n|j|ƒ}Wn%tk
re}|t|ƒƒ‚nX|rë|dks‡|jdƒr–|dƒ‚nt|ƒy|d}t|ƒSWqëtk
rç}|dd||fƒ‚qëXny|j|ƒ}Wn%tk
r%}|t|ƒƒ‚nX|dkrE|d|ƒ‚nt    ||ƒ}||||fS(NsNo module named %st__main__s    .__main__s%Cannot use package as __main__ modules%s; %r is a package and cannot sbe directly executedsNo code object available for %s(
RR t
is_packaget ImportErrortformattendswitht
__import__t_get_module_detailstget_codeR/(RterrorR1tispkgtet pkg_main_nameR"tfilename((s/usr/lib64/python2.7/runpy.pyR:ds2  

 cCscd}yt|ƒSWnHtk
r^}|t|ƒkrX|d|tjdfƒ‚n‚nXdS(NR4scan't find %r module in %ri(R:R6tstrR tpath(R<t    main_nametexc((s/usr/lib64/python2.7/runpy.pyt_get_main_module_details€st_ErrorcBseZdZRS(sBError that _run_module_as_main() should report without a traceback(RRR(((s/usr/lib64/python2.7/runpy.pyRFŒsc    Cs×yL|s|dkr3t|tƒ\}}}}nttƒ\}}}}Wn3tk
r}dtj|f}tj|ƒnX|jdƒd}tjdj}|r»|tj    d<nt
||dd|||ƒS(s¯Runs the designated module in the __main__ namespace

       Note that the executed module will have full access to the
       __main__ namespace. If this is not desirable, the run_module()
       function should be used to run the module code in a fresh namespace.

       At the very least, these variables in __main__ will be overwritten:
           __name__
           __file__
           __loader__
           __package__
    R4s%s: %st.iN( R:RFRER t
executabletexitt
rpartitionRR)RR(R (    Rt
alter_argvR1R"tfnameRDtmsgR't main_globals((s/usr/lib64/python2.7/runpy.pyt_run_module_as_main“s  cCst|ƒ\}}}}|dkr-|}n|jdƒd}|r_t||||||ƒSt|i|||||ƒSdS(snExecute a module's code without importing it

       Returns the resulting top level namespace dictionary
    RGiN(R:R RJR-R((RR$trun_namet    alter_sysR1R"RLR'((s/usr/lib64/python2.7/runpy.pyR°s       cCs¤tj}y||}Wn†tk
rŸd||<x^tjD]+}y||ƒ}PWq;tk
req;Xq;Wytj|ƒ}Wntk
r‘dSX|||<nX|S(s5Python version of PyImport_GetImporter C API functionN(R tpath_importer_cacheRR t
path_hooksR6Rt NullImporter(t    path_nametcachetimporterthook((s/usr/lib64/python2.7/runpy.pyt _get_importerÅs"     
   c    Csgt|dƒ}t|ƒ}WdQX|dkrct|dƒ}t|jƒ|dƒ}WdQXn|S(NtrbtrUtexec(topenRR tcompiletread(RLtfR"((s/usr/lib64/python2.7/runpy.pyt_get_code_from_fileás  !c Cs<|dkrd}nt|ƒ}t|tjƒrRt|ƒ}t||||ƒStjj    d|ƒz§d}tj
|}tj
|=zt ƒ\}}}}    Wd|tj
|<Xd}
t |ƒH} t |ƒ3| jj} t|| |||    ||
ƒjƒSWdQXWdQXWdytjj|ƒWntk
r6nXXdS(s_Execute code located at the specified filesystem location

       Returns the resulting top level namespace dictionary

       The file path may refer directly to a Python script (i.e.
       one that could be directly executed with execfile) or else
       it may refer to a zipfile or directory containing a top
       level __main__.py script.
    s
<run_path>iR4Nt(R RYt
isinstanceRRTRaR-R RBtinsertRRERRRR)R(R*tremovet
ValueError( RUR$RPRWR"RCt
saved_mainRR1RLR'R+R,((s/usr/lib64/python2.7/runpy.pyRës0
       
   & R4is!No module specified for executioni(RR RtpkgutilRRR6t__all__RRRR R(R-R/R:REt    ExceptionRFtTrueROtFalseRRYRaRRtlenRtstderr(((s/usr/lib64/python2.7/runpy.pyt<module>s>                    
1 


All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL