Hacked By AnonymousFox

Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/py_compile.cpython-312.opt-2.pyc

�

6�f����	ddlZddlZddlZddlZddlZddlZddlZddlZgd�Z	Gd�de
�ZGd�dej�Z
d�Z		dd�Zd	�Zed
k(re�yy)�N)�compile�main�PyCompileError�PycInvalidationModec��eZdZ	dd�Zd�Zy)rc�,�|j}|tur;djtj||��}|jdd|z�}nd|�d|��}tj||xs||||�||_||_	||_
|xs||_y)N�zFile "<string>"z	File "%s"zSorry: z: )�__name__�SyntaxError�join�	traceback�format_exception_only�replace�	Exception�__init__�
exc_type_name�	exc_value�file�msg)�self�exc_typerrrr�tbtext�errmsgs        �1/opt/alt/python312/lib64/python3.12/py_compile.pyrzPyCompileError.__init__.s��� �)�)�
��{�"��W�W�Y�<�<��)�%�&�F��^�^�$5�{�T�7I�J�F�#�
)6�i�@�F����4��
�v�m�I�d�K�*���"�����	��=�&���c��|jS)N)r)rs r�__str__zPyCompileError.__str__>s���x�x�rN)r	)r
�
__module__�__qualname__rr�rrrrs���6!� rrc��eZdZdZdZdZy)r���N)r
rr�	TIMESTAMP�CHECKED_HASH�UNCHECKED_HASHr rrrrBs���I��L��Nrrc��tjjd�rtjStj
S)N�SOURCE_DATE_EPOCH)�os�environ�getrr&r%r rr�_get_default_invalidation_moder-Hs+��	�z�z�~�~�)�*�"�/�/�/�"�,�,�,rc��	|�
t�}|�O|dk\r+|dk\r|nd}tjj||��}ntjj|�}tj
j
|�rd}t|j|���tj
j|�r;tj
j|�sd}t|j|���tjjd|�}	|	j|�}
	|	j|
|xs||��}	tj
j-|�}|rt	j.|�|t0j2k(r9|	j5|�}tj6j9||d|d�}nQtjj;|
�}tj6j=|||t0j>k(�}tj6jA|�}tj6jC|||�|S#t$rZ}t!|j"||xs|�}
|d	kr0|r|
�t$j&j)|
j*d
z�Yd}~yd}~wwxYw#t$rY��QwxYw)
Nrr"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_coderr�	__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_excrE�source_stats�bytecoderJ�modes                   rrrOsd��*�V� �:�<���}��q�=�'/�1�}�8�"�L��N�N�4�4�T�BN�5�P�E��N�N�4�4�T�:�E�	�w�w�~�~�e��:���c�j�j��/�0�0�	������	�r�w�w�~�~�e�'<�A���c�j�j��/�0�0�
�
 �
 �
1�
1�.�$�
G�F��?�?�4�(�L�
��$�$�\�5�=�D�/7�%�9��
��'�'�/�/�%�(����K�K�� ��/�9�9�9��(�(��.���0�0�G�G��,�w�'��f�)=�?�� �n�n�0�0��>���0�0�B�B���
�"5�"B�"B�
B�
��
�(�(�3�3�D�9�D�
�!�!�/�/��x��F��L��7����
�
�s�E�M�T�B���1�9�����
�
� � ����d�!2�3������
��
�s+�&I�?6J:�	J7�AJ2�2J7�:	K�Kc��ddl}d}|j|��}|jdddd��|jd	d
d��|j�}|jd
gk(r;t
jj�D�cgc]}|jd���}}n|j}|D]}	t|d���ycc}w#t$rD}|jr|jd�n|jd|j�Yd}~�ad}~wt$rC}|jr|jd�n|jdt|��Yd}~��d}~wwxYw)Nrz6A simple command-line interface for py_compile module.)�descriptionz-qz--quiet�
store_truezSuppress error output)�action�help�	filenames�+zFiles to compile)�nargsr`�-r1T)rPr")�argparse�ArgumentParser�add_argument�
parse_argsrarB�stdin�	readlines�rstriprrrS�exitr�OSError�str)rer]�parser�args�filenamera�errors       rrr�s-���J�K�
�
$�
$��
$�
=�F�
����i��
$���
�����
���
����D��~�~�#���;>�9�9�;N�;N�;P�Q�x�X�_�_�T�*�Q�	�Q��N�N�	���	+��H�d�+���R���	*��z�z����A�����A�u�y�y�)����	+��z�z����A�����A�s�5�z�*���		+�s*�B?�/
C�	E�
:D�E�9E�E�__main__)NNF���Nr)�enum�importlib._bootstrap_externalr4�importlib.machinery�importlib.utilr*�os.pathrBr
�__all__rr�Enumrr-rrr
r rr�<module>r|sv���
�$���	��
��
F��-�Y�-�`�$�)�)��-�CE�*+�^�B +�F�z���F�r

Hacked By AnonymousFox1.0, Coded By AnonymousFox