HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/__pycache__/py_compile.cpython-310.opt-2.pyc
o

�i��@s�	ddlZddlZddlZddlZddlZddlZddlZddlZgd�Z	Gdd�de
�ZGdd�dej�Z
dd�Z	
	ddd�Zd
d�ZedkrNe�dSdS)�N)�compile�main�PyCompileError�PycInvalidationModec@s eZdZ	ddd�Zdd�ZdS)r�cCst|j}|turd�t�||��}|�dd|�}nd||f}t�||p%||||�||_||_	||_
|p6||_dS)NrzFile "<string>"z	File "%s"z
Sorry: %s: %s)�__name__�SyntaxError�join�	traceback�format_exception_only�replace�	Exception�__init__�
exc_type_name�	exc_value�file�msg)�self�exc_typerrrr�tbtext�errmsg�r�'/usr/local/lib/python3.10/py_compile.pyr.s�zPyCompileError.__init__cCs|jS)N)r)rrrr�__str__>szPyCompileError.__str__N)r)r�
__module__�__qualname__rrrrrrrs
rc@seZdZdZdZdZdS)r���N)rrr�	TIMESTAMP�CHECKED_HASH�UNCHECKED_HASHrrrrrBsrcCstj�d�r	tjStjS)N�SOURCE_DATE_EPOCH)�os�environ�getrr rrrrr�_get_default_invalidation_modeHsr&F���c
Cs�	|durt�}|dur'|dkr!|dkr|nd}tjj||d�}ntj�|�}tj�|�r6d}t|�|���tj�	|�rKtj�
|�sKd}t|�|���tj�d|�}	|	�
|�}
z|	j|
|p^||d�}Wn-ty�}z!t|j||pr|�}
|d	kr�|r||
�tj�|
jd
�WYd}~dSd}~wwztj�|�}|r�t�|�Wn	ty�Ynw|tjkr�|	�|�}tj�||d|d�}ntj�|
�}tj�|||tjk�}tj� |�}tj�!|||�|S)
Nrrr)�optimizationzc{} is a symlink and will be changed into a regular file if import writes a byte-compiled file to itzk{} is a non-regular file and will be changed into a regular one if import writes a byte-compiled file to itz<py_compile>)�	_optimizer�
�mtime�size)"r&�	importlib�util�cache_from_sourcer#�path�islink�FileExistsError�format�exists�isfile�	machinery�SourceFileLoader�get_data�source_to_coder
r�	__class__�sys�stderr�writer�dirname�makedirsrr�
path_stats�_bootstrap_external�_code_to_timestamp_pyc�source_hash�_code_to_hash_pycr �
_calc_mode�
_write_atomic)r�cfile�dfile�doraise�optimize�invalidation_mode�quietr(r�loader�source_bytes�code�err�py_excr>�source_stats�bytecoderC�moderrrrOsj+�

���
��

��rcCsddl}d}|j|d�}|jddddd�|jd	d
dd�|��}|jd
gkr2dd�tj��D�}n|j}|D]N}zt|dd�Wq7t	yc}z|j
rR|�d�n|�d|j�WYd}~q7d}~wt
y�}z|j
rs|�d�n|�dt|��WYd}~q7d}~wwdS)Nrz6A simple command-line interface for py_compile module.)�descriptionz-qz--quiet�
store_truezSuppress error output)�action�help�	filenames�+zFiles to compile)�nargsrX�-cSsg|]}|�d��qS)r*)�rstrip)�.0�filenamerrr�
<listcomp>�szmain.<locals>.<listcomp>T)rIr)�argparse�ArgumentParser�add_argument�
parse_argsrYr;�stdin�	readlinesrrrL�exitr�OSError�str)rarU�parser�argsrYr_�errorrrrr�s@������r�__main__)NNFr'Nr)�enumZimportlib._bootstrap_externalr-�importlib.machinery�importlib.utilr#Zos.pathr;r
�__all__r
r�Enumrr&rrrrrrr�<module>s(0
�a#
�