| 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 : /usr/lib64/python3.6/__pycache__/ |
Upload File : |
3
\]/ � @ s� d Z ddlZddlZddlZddlZddlZddlmZ dddgZ ddd �Z
ddd�Zdd
d�Zddd�Z
dd� Zedkr�ee� �Zeje� 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)�partial�compile_dir�compile_file�compile_path�
c c s |dk rt | tj�rtj| �} |s0tdj| �� ytj| �}W n. tk
rl |dk rdtdj| �� g }Y nX |j� x�|D ]�}|dkr�q|tj j
| |�}|d k r�tj j
||�}nd }tj j|�s�|V q||dkr||tjkr||tj
kr|tj j|�r|tj j|� r|t|||d |d�E d H q|W d S )N� zListing {!r}...zCan't list {!r}�__pycache__r � )�ddir� maxlevels�quiet)�
isinstance�os�PathLike�fspath�print�format�listdir�OSError�sort�path�join�isdir�curdir�pardir�islink� _walk_dir)�dirr
r r �names�name�fullname�dfile� r"