ok

Mini Shell

Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/py_compile.cpython-311.opt-2.pyc

�

�f�����	ddlZddlZddlZddlZddlZddlZddlZddlZgd�Z	Gd�de
��ZGd�dej��Z
d�Z		d
d
�Zd�Zedkre��dSdS)�N)�compile�main�PyCompileError�PycInvalidationModec��eZdZ	dd�Zd�ZdS)r�c�6�|j}|turBd�tj||����}|�dd|z��}nd|�d|��}t�||p||||��||_||_	||_
|p||_dS)NrzFile "<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/python311/lib64/python3.11/py_compile.pyrzPyCompileError.__init__.s��� �)�
��{�"�"��W�W�Y�<��)�%�%�&�&�F��^�^�$5�{�T�7I�J�J�F�F�#�
)6�
�
�i�i�@�F����4��
�v�m�I�d�K�K�K�*���"�����	��=�&�����c��|jS)N)r)rs r�__str__zPyCompileError.__str__>s	���x�rN)r)r
�
__module__�__qualname__rr�rrrrs<�������6!�!�!�!� ����rrc��eZdZdZdZdZdS)r���N)r
rr�	TIMESTAMP�CHECKED_HASH�UNCHECKED_HASHr rrrrBs�������I��L��N�N�Nrrc�p�tj�d��rtjStjS)N�SOURCE_DATE_EPOCH)�os�environ�getrr&r%r rr�_get_default_invalidation_moder-Hs+��	�z�~�~�)�*�*�-�"�/�/�"�,�,rF���c���	|�t��}|�Q|dkr,|dkr|nd}tj�||���}ntj�|��}tj�|��r$d}t|�|�����tj�	|��rCtj�
|��s$d}t|�|�����tj�d|��}	|	�
|��}
	|	�|
|p||���}na#t$rT}t!|j||p|��}
|d	kr+|r|
�t$j�|
jd
z��Yd}~dSd}~wwxYw	tj�|��}|rt	j|��n#t$rYnwxYw|t0jkrC|	�|��}tj�||d|d��}nNtj�|
��}tj�|||t0jk��}tj� |��}tj�!|||��|S)
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�quietr0r�loader�source_bytes�code�err�py_excrF�source_stats�bytecoderK�modes                   rrrOs���*�V� �:�<�<���}��q�=�=�'/�1�}�}�8�8�"�L��N�4�4�T�BN�5�P�P�E�E��N�4�4�T�:�:�E�	�w�~�~�e���1�:���c�j�j��/�/�0�0�0�	�����	�	�1�r�w�~�~�e�'<�'<�1�A���c�j�j��/�/�0�0�0�
�
 �
1�
1�.�$�
G�
G�F��?�?�4�(�(�L�
��$�$�\�5�=�D�/7�%�9�9����������
�s�E�M�T�B�B���1�9�9��
4����
� � ���d�!2�3�3�3���������������
��'�/�/�%�(�(���	!��K�� � � ����
�
�
���
�����/�9�9�9��(�(��.�.���0�G�G��,�w�'��f�)=�?�?��� �n�0�0��>�>���0�B�B���
�"5�"B�
B�
�
��
�(�3�3�D�9�9�D�
�!�/�/��x��F�F�F��Ls+�E�
F9�%A	F4�4F9�=5G3�3
H�?Hc��ddl}d}|�|���}|�dddd���|�d	d
d���|���}|jd
gkr)d�t
j���D��}n|j}|D]�}	t|d����#t$rB}|j
r|�d��n|�d|j��Yd}~�\d}~wt$rJ}|j
r|�d��n#|�dt|����Yd}~��d}~wwxYwdS)Nrz6A simple command-line interface for py_compile module.)�descriptionz-qz--quiet�
store_truezSuppress error output)�action�help�	filenames�+zFiles to compile)�nargsra�-c�8�g|]}|�d����S)r2)�rstrip)�.0�filenames  r�
<listcomp>zmain.<locals>.<listcomp>�s$��Q�Q�Q�x�X�_�_�T�*�*�Q�Q�QrT)rQr")�argparse�ArgumentParser�add_argument�
parse_argsrbrC�stdin�	readlinesrrrT�exitr�OSError�str)rkr^�parser�argsrbri�errors       rrr�s����O�O�O�J�K�
�
$�
$��
$�
=�
=�F�
����i��
$�����
�����
�����
�����D��~�#����Q�Q�3�9�;N�;N�;P�;P�Q�Q�Q�	�	��N�	��+�+��	+��H�d�+�+�+�+�+���	*�	*�	*��z�
*����A��������A�u�y�)�)�)�����������	+�	+�	+��z�
+����A��������A�s�5�z�z�*�*�*����������		+����+�+s%�#B5�5
E�?8C<�<
E�	AE�E�__main__)NNFr.Nr)�enum�importlib._bootstrap_externalr5�importlib.machinery�importlib.utilr*�os.pathrCr
�__all__rr�Enumrr-rrr
r rr�<module>rs(���
����$�$�$�$���������	�	�	�	�����
�
�
�
�����
F�
F�
F��-�-�-�-�-�Y�-�-�-�`�����$�)����-�-�-�CE�*+�^�^�^�^�B +� +� +�F�z����D�F�F�F�F�F��r

Zerion Mini Shell 1.0