Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
U
i_n5 @ s d Z ddlZddlZddlZddlZddlZddlmZ dddgZ ddd Z
dd
dZdd ZdddZ
dddZdd Zedkree Zee dS )a Module/script to byte-compile all .py files to .pyc files.
When called as a script with arguments, this compiles the directories
given as arguments recursively; the -l option prevents it from
recursing into directories.
Without arguments, if compiles all modules on sys.path, without
recursing into subdirectories. (Even though it should do so for
packages -- for now, you'll have to deal with packages separately.)
See module py_compile for details of the actual byte-compilation.
N)partialcompile_dircompile_filecompile_path
c c s |dk rt | tjrt| } |s0td| zt| }W n. tk
rl |dk rdtd| g }Y nX | |D ]}|dkrqztj
| |}|d k rtj
||}nd }tj |s||fV qz|dkrz|tjkrz|tj
krztj |rztj |szt|||d |dE d H qzd S )N zListing {!r}...zCan't list {!r}__pycache__r )ddir maxlevelsquiet)
isinstanceosPathLikefspathprintformatlistdirOSErrorsortpathjoinisdircurdirpardirislink _walk_dir)dirr
r r namesnamefullnamedfile r" )/opt/python38/lib/python3.8/compileall.pyr s:
r Fr c
C s d}
|dk rt d|dkrFzddlm}
W n tk
rD d}Y nX t| |||d}d}|dkr|
dk r|ppd}|
|d0}
|
tt|||||| d |}t|dd
}W 5 Q R X n(|D ]"\}}t |||||||| sd}q|S )a Byte-compile all modules in the given directory tree.
Arguments (only dir is required):
dir: the directory to byte-compile
maxlevels: maximum recursion level (default 10)
ddir: the directory that will be prepended to the path to the
file as it is compiled into each byte-code file.
force: if True, force compilation, even if timestamps are up-to-date
quiet: full output with False or 0, errors only with 1,
no output with 2
legacy: if True, produce legacy pyc paths instead of PEP 3147 paths
optimize: optimization level or -1 for level of the interpreter
workers: maximum number of parallel workers
invalidation_mode: how the up-to-dateness of the pyc will be checked
Nr z%workers must be greater or equal to 0r )ProcessPoolExecutor)r r r
T)max_workers)forcerxr legacyoptimizeinvalidation_mode)defaultF)
ValueErrorconcurrent.futuresr% ImportErrorr mapr _compile_file_tupleminr )r r r
r' r( r r) r* workersr+ r% files_and_ddirssuccessexecutorresultsfiler! r" r" r# r 2 sF
c K s | \}}t ||f|S )z-Needs to be toplevel for ProcessPoolExecutor.)r )file_and_dfilekwargsr8 r! r" r" r# r1 e s r1 c
C s d}|dk r"t | tjr"t| } tj| } |dk rFtj|| }
nd}
|dk rd|| }|rd|S tj| r|r| d }nB|dkr|dkr|nd}
t j
j| |
d}nt j
| }tj|}| dd | d d }}|d
kr|s\zXt
t| j}tdt j
jd|}t|d}|d
}W 5 Q R X ||krB|W S W n tk
rZ Y nX |sptd| ztj| ||
d||d}W n tjk
r } zjd}|dkr| W Y RS |rtd| ntddd |jjtjjdd}| tjj}t| W 5 d}~X Y n t!t"tfk
r } zRd}|dkrJ| W Y :S |r`td| ntddd t|j#j$d | W 5 d}~X Y nX |dkrd}|S )aT Byte-compile one file.
Arguments (only fullname is required):
fullname: the file to byte-compile
ddir: if given, the directory name compiled in to the
byte-code file.
force: if True, force compilation, even if timestamps are up-to-date
quiet: full output with False or 0, errors only with 1,
no output with 2
legacy: if True, produce legacy pyc paths instead of PEP 3147 paths
optimize: optimization level or -1 for level of the interpreter
invalidation_mode: how the up-to-dateness of the pyc will be checked
Tr Ncr r )optimizationz.pyz<4sllrb zCompiling {!r}...)r* r+ Fz*** Error compiling {!r}...z*** )endbackslashreplace)errors:)%r
r r r r basenamer searchisfile importlibutilcache_from_sourcedirnameintstatst_mtimestructpackMAGIC_NUMBERopenreadr r r
py_compilecompilePyCompileErrormsgencodesysstdoutencodingdecodeSyntaxErrorUnicodeError __class____name__)r r
r' r( r r) r* r+ r5 r r! mocfileopt cache_dirheadtailmtimeexpectchandleactualokerrrW er" r" r# r j s
$
c C sT d}t jD ]D}|r|tjkr2| r2|dk rNtd q
|oLt||d|||||d}q
|S )a Byte-compile all module on sys.path.
Arguments (all optional):
skip_curdir: if true, skip current directory (default True)
maxlevels: max recursion level (default 0)
force: as for compile_dir() (default False)
quiet: as for compile_dir() (default 0)
legacy: as for compile_dir() (default False)
optimize: as for compile_dir() (default -1)
invalidation_mode: as for compiler_dir()
Tr zSkipping current directoryN)r r) r* r+ )rY r r r r r ) skip_curdirr r' r r) r* r+ r5 r r" r" r# r s
c
C s ddl } | jdd}|jdddddd d
|jdtdd
d |jddddd |jdddddd |jddddd |jdddddd |jd!d"d#dd$d |jd%d&d'd(d) |jd*d+d,d-d. |jd/d0d1td2d3 d4d5 tjD }|jd6t|d7d8 | }|j}|j r$ddl
}||j |_ |jdk r8|j}n|j
}|jrzF|jd9krZtjnt|j }|D ]}|| qjW 5 Q R X W n4 tk
r |jd:k rtd;|j Y d