HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, 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
Upload Files
File: //usr/lib/python3.7/__pycache__/compileall.cpython-37.pyc
B

{aQ5	@sdZddlZddlZddlZddlZddlZddlmZdddgZ	ddd	Z
dd
dZdddZdddZ
ddZedkreeZeedS)aModule/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_dircompile_filecompile_path
ccs|dkrt|tjrt|}|s0td|yt|}Wn.tk
rl|dkrdtd|g}YnX|x|D]}|dkrq|tj	
||}|dk	rtj	
||}nd}tj	|s|Vq||dkr||tjkr||tj
kr|tj	|r|tj	|s|t|||d|dEdHq|WdS)NzListing {!r}...zCan't list {!r}__pycache__r)ddir	maxlevelsquiet)
isinstanceosPathLikefspathprintformatlistdirOSErrorsortpathjoinisdircurdirpardirislink	_walk_dir)dirr
rrnamesnamefullnamedfiler" /usr/lib/python3.7/compileall.pyrs0


rFr	c

Csd}
|dk	rP|dkrtdn2|dkrPyddlm}
Wntk
rNd}YnXt||||d}d}|dk	r|dkr|
dk	r|pd}|
|d2}
|
tt|||||||	d	|}t|dd
}WdQRXn(x&|D]}t||||||||	sd}qW|S)aByte-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
    Nrz%workers must be greater or equal to 0r	)ProcessPoolExecutor)rrr
T)Zmax_workers)r
forcerxrlegacyoptimizeinvalidation_mode)defaultF)	
ValueErrorZconcurrent.futuresr%ImportErrorrmaprrmin)rrr
r&r'rr(r)workersr*r%ZfilessuccessZexecutorZresultsfiler"r"r#r2s8



c
Csd}|dkr"t|tjr"t|}tj|}	|dk	rFtj||	}
nd}
|dk	rd||}|rd|Stj|r|r|d}nB|dkr|dkr|nd}
t	j
j||
d}nt	j
|}tj|}|	dd	|	d	d}}|d
kr|sZyVt
t|j}tdt	j
jd|}t|d}|d
}WdQRX||kr@|SWntk
rXYnX|sntd|ytj|||
d||d}Wntjk
r}zbd}|dkr|S|rtd|ntddd|jjtjjdd}| tjj}t|Wdd}~XYn~t!t"tfk
rz}zJd}|dkr6|S|rLtd|ntdddt|j#j$d|Wdd}~XYnX|dkrd}|S)aTByte-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
    TrNcrr	)optimizationz.pyz<4sllrbzCompiling {!r}...)r)r*Fz*** Error compiling {!r}...z*** )endbackslashreplace)errors:)%r
rrrrbasenamersearchisfile	importlibutilcache_from_sourcedirnameintstatst_mtimestructZpackMAGIC_NUMBERopenreadrrr
py_compilecompilePyCompileErrormsgencodesysstdoutencodingdecodeSyntaxErrorUnicodeError	__class____name__)r r
r&r'rr(r)r*r1rr!ZmocfileZoptZ	cache_dirheadtailmtimeZexpectZchandleZactualokerrrNer"r"r#resz






$
c	CsXd}xNtjD]D}|r|tjkr4|r4|dkrPtdq|oNt||d|||||d}qW|S)aByte-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()
    TrzSkipping current directoryN)rr(r)r*)rPrrrrr)	Zskip_curdirrr&rr(r)r*r1rr"r"r#rs
c
Csddl}|jdd}|jdddddd	d
|jdtdd
d|jddddd|jdddddd|jddddd|jdddddd |jd!d"d#dd$d |jd%d&d'd(d)|jd*d+d,d-d.|jd/d0d1td2d3d4d5tjD}|jd6t|d7d8|}|j}|j	r$ddl
}||j	|_	|jdk	r8|j}n|j
}|jryJ|jd9krZtjnt|j$}x|D]}||qlWWdQRXWn2tk
r|jd:krtd;|jd<SX|jdk	r|jpd|_|jr|jd9d=}	tj|	}
nd}
d>}y|rxp|D]h}tj|rTt||j |j!|j	|j|j"|
d?sd<}n,t#|||j |j!|j	|j|j"|j|
d@	sd<}qW|St$|j"|j!|j|
dASWn*t%k
r|jd:krtdBd<SXd>S)CzScript main program.rNz1Utilities to support installing Python libraries.)Zdescriptionz-lZstore_constrrz!don't recurse into subdirectories)actionZconstr+desthelpz-r	recursionzhcontrol the maximum recursion level. if `-l` and `-r` options are specified, then `-r` takes precedence.)typer`raz-f
store_truer&z/force rebuild even if timestamps are up to date)r_r`raz-qcountrzIoutput only error messages; -qq will suppress the error messages as well.)r_r`r+raz-br(z0use legacy (pre-PEP3147) compiled file locationsz-dZDESTDIRr
zdirectory to prepend to file paths for use in compile-time tracebacks and in runtime tracebacks in cases where the source file is unavailable)metavarr`r+raz-xZREGEXPr'zskip files matching the regular expression; the regexp is searched for in the full path of each file considered for compilationz-iZFILEflistzzadd all the files and directories listed in FILE to the list considered for compilation; if "-", names are read from stdin)rfr`racompile_destzFILE|DIR*zrzero or more file and directory names to compile; if no arguments given, defaults to the equivalent of -l sys.path)rfnargsraz-jz	--workersr	zRun compileall concurrently)r+rcracSsg|]}|jddqS)_-)rlowerreplace).0moder"r"r#
<listcomp>szmain.<locals>.<listcomp>z--invalidation-modezset .pyc invalidation mode; defaults to "checked-hash" if the SOURCE_DATE_EPOCH environment variable is set, and "timestamp" otherwise.)choicesrarlrzError reading file list {}FrkT)r*)r0r*)r(r&rr*z
[interrupted])&argparseArgumentParseradd_argumentrDrKPycInvalidationModesorted
parse_argsrhr'rerLrbrrgrPstdinrIappendstriprrrrr0r*rnupperrrr?rr
r&r(rrKeyboardInterrupt)
rsparserZinvalidation_modesargsZ
compile_destsryrflineZivl_moder*r1r`r"r"r#mains









"





r__main__)Nrr)	rNFNrFr$r	N)NFNrFr$N)r	rFrFr$N)__doc__rrPimportlib.utilr@rKrG	functoolsr__all__rrrrrrWrDZexit_statusexitr"r"r"r#<module>s*


1
T
 l