ok
Direktori : /opt/alt/python311/lib64/python3.11/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/__pycache__/compileall.cpython-311.opt-2.pyc |
� �fO � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z g d�Zdd�Z dddddd �d �Z dddddd �d�Z dd�Zd � Zedk r& e e� � � � Z ej e� � dS dS )� N)�partial)�Path)�compile_dir�compile_file�compile_pathc # � K � |dk r.t | t j � � rt j | � � } |s"t d� | � � � � t j | � � }n:# t $ r- |dk r"t d� | � � � � g }Y nw xY w|� � � |D ]�}|dk r� t j � | |� � }t j � |� � s|V � �M|dk ry|t j k ri|t j k rYt j � |� � r:t j � |� � st ||dz |�� � E d {V �� ��d S )N� zListing {!r}...zCan't list {!r}�__pycache__r � )� maxlevels�quiet)� isinstance�os�PathLike�fspath�print�format�listdir�OSError�sort�path�join�isdir�curdir�pardir�islink� _walk_dir)�dirr r �names�name�fullnames �1/opt/alt/python311/lib64/python3.11/compileall.pyr r s� � � � ��q�y�y�Z��R�[�1�1�y��i��n�n��� -� ��&�&�s�+�+�,�,�,��� �3������� � � ��1�9�9��#�*�*�3�/�/�0�0�0��������� �J�J�L�L�L�� .� .���=� � ���7�<�<��T�*�*���w�}�}�X�&�&� .��N�N�N�N��!�m�m��� � 1� 1�d�b�i�6G�6G��g�m�m�H�%�%� 7H�.0�g�n�n�X�.F�.F� 7H� ��Y��]�',�.� .� .� .� .� .� .� .� .� .�� .� .s �A1 �14B(�'B(F���r ��stripdir� prependdir� limit_sl_dest�hardlink_dupesc �R � d }|�| �|�t d� � �|�| } |}d }|dk rt d� � �|dk r*ddlm} |� � ddlm} n# t $ r d}Y nw xY w|�t j � � }t | ||�� � }d}|dk rp|�n|pd } ||� � � 5 }|� t t ||||||| | ||| � � � |� � }t |d�� � }d d d � � n# 1 swxY w Y n"|D ]}t |||||||| | ||| �� � sd }� |S )N�PDestination dir (ddir) cannot be used in combination with stripdir or prependdirr z%workers must be greater or equal to 0r )�_check_system_limits)�ProcessPoolExecutor)r r T)�max_workers)�ddir�force�rxr �legacy�optimize�invalidation_moder% r&