AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/importlib/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/importlib/__pycache__/_common.cpython-39.opt-2.pyc |
a R�f� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZdd� Zdd� Zejd dd��Z ej ejd d � ��Ze�ej �ejdd� ��ZdS )� Nc C s t | j�S �N)�fallback_resources�__spec__)�package� r �6/opt/alt/python39/lib64/python3.9/importlib/_common.py�from_package s r c C sN t �| j�j}z(| jj}|�|�}t�|t|�d �W S t yH Y n0 |S )N�/) �pathlib�Path�origin�parent�loader�archive�relative_to�zipfile�str� Exception)�specZpackage_directoryZarchive_pathZrel_pathr r r r s r � c c s� t j|d�\}}zJt�|| � � t�|� t�|�V W zt�|� W q� tyX Y q�0 n$zt�|� W n ty| Y n0 0 d S �N)�suffix) �tempfileZmkstemp�os�write�closer r �remove�FileNotFoundError)�readerr �fdZraw_pathr r r � _tempfile s �r c c s: t | j| jd��}|V W d � n1 s,0 Y d S r )r � read_bytes�name)�pathZlocalr r r �as_file- s r$ c c s | V d S r r )r# r r r �_8 s r% )r )r r r r � functools� contextlibr r �contextmanagerr �singledispatchr$ �registerr r% r r r r �<module> s