OwlCyberSecurity - MANAGER
Edit File: py_compile.cpython-310.opt-2.pyc
o ����'" h�����������������������@���s���� �d�dl�Z�d�dlZd�dlZd�dlZd�dlZd�dlZd�dlZd�dlZg�d�Z G�dd��de �ZG�dd��de�j�Z dd��Z �ddd�Zd d��ZedkrNe���dS�dS�)�����N)�compile�main�PyCompileError�PycInvalidationModec�������������������@���s ���e�Zd�Z �ddd�Zdd��ZdS�)r�����c�����������������C���st���|j�}|tu�rd�t�||��}|�dd|��}nd||f�}t�|�|p%||||��||�_||�_ ||�_ |p6||�_d�S�)Nr���zFile "<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_typer���r���r���r����tbtext�errmsg��r����1/opt/alt/python310/lib64/python3.10/py_compile.pyr���.���s����zPyCompileError.__init__c�����������������C���s���|�j�S�)N)r���)r���r���r���r����__str__>���s���zPyCompileError.__str__N)r���)r���� __module__�__qualname__r���r���r���r���r���r���r������s���� r���c�������������������@���s���e�Zd�ZdZdZdZdS�)r���������������N)r���r���r���� TIMESTAMP�CHECKED_HASH�UNCHECKED_HASHr���r���r���r���r���B���s����r���c�������������������C���s$���t�j�d�rt�j�d�stjS�tjS�)N�SOURCE_DATE_EPOCH�RPM_BUILD_ROOT)�os�environ�getr���r ���r���r���r���r���r����_get_default_invalidation_modeH���s ��� �r'���F���c�������������� ���C���s��� �|d�u�rt���}|d�u�r'|dkr!|dkr|nd}tjj|�|d�}ntj�|��}tj�|�r6d}t|�|���tj� |�rKtj� |�sKd}t|�|���tj�d|��} | � |��} z| j| |p^|�|d�}W�n-�ty��}�z!t|j||pr|��} |d k�r�|r|| �tj�| jd ���W�Y�d�}~d�S�d�}~ww�ztj�|�}|r�t�|��W�n �ty����Y�nw�|tjkr�| �|��}tj�||d�|d��}ntj�| �}tj�|||tjk�}tj� |��}tj�!|||��|S�) Nr���r���r���)�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�makedirsr���r���� 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�bytecoderD����moder���r���r���r���P���sj���+� ��� �� ��r���c������������������C���s��dd�l�}�d}|�j|d�}|jddddd��|jd d dd��|���}|jd gkr2dd��tj���D��}n|j}|D�]N}zt|dd��W�q7�t yc�}�z|j rR|�d��n|�d|j��W�Y�d�}~q7d�}~w�t y��}�z|j rs|�d��n|�dt|���W�Y�d�}~q7d�}~ww�d�S�)Nr���z6A simple command-line interface for py_compile module.)�descriptionz-qz--quiet� store_truezSuppress error output)�action�help� filenames�+zFiles to compile)�nargsrY����-c�����������������S���s���g�|�]}|��d���qS�)r+���)�rstrip)�.0�filenamer���r���r���� <listcomp>����s����zmain.<locals>.<listcomp>T)rJ���r���)�argparse�ArgumentParser�add_argument� parse_argsrZ���r<����stdin� readlinesr���r���rM����exitr����OSError�str)rb���rV����parser�argsrZ���r`����errorr���r���r���r�������s@���������r����__main__)NNFr(���Nr���)�enumZimportlib._bootstrap_externalr.����importlib.machinery�importlib.utilr$���Zos.pathr<���r ����__all__r ���r����Enumr���r'���r���r���r���r���r���r���r����<module>���s(����0 �a# �