HEX
Server: Apache/2.4.65 (Unix) OpenSSL/1.1.1k
System: Linux vps109042.inmotionhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: cisa (1010)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //opt/imh-python/lib/python3.9/importlib/__pycache__/_common.cpython-39.pyc
a

b�h��@s�ddlZddlZddlZddlZddlZddlZdd�Zdd�Zejd
dd��Z	ej
ejd	d
���Ze�ej
�ejdd���ZdS)�NcCs
t|j�S)z=
    Return a Traversable object for the given package.

    )�fallback_resources�__spec__)�package�r�2/opt/imh-python/lib/python3.9/importlib/_common.py�from_package	srcCsNt�|j�j}z(|jj}|�|�}t�|t|�d�WSt	yHYn0|S)N�/)
�pathlib�Path�origin�parent�loader�archive�relative_to�zipfile�str�	Exception)�specZpackage_directoryZarchive_pathZrel_pathrrrrs
r�ccs�tj|d�\}}zJt�||��t�|�t�|�VWzt�|�Wq�tyXYq�0n$zt�|�Wnty|Yn00dS)N��suffix)	�tempfile�mkstemp�os�write�closer	r
�remove�FileNotFoundError)�readerr�fdZraw_pathrrr�	_tempfiles
�r ccs:t|j|jd��}|VWd�n1s,0YdS)zu
    Given a Traversable object, return that object as a
    path on the local file system in a context manager.
    rN)r �
read_bytes�name)�path�localrrr�as_file-sr%ccs
|VdS)z7
    Degenerate behavior for pathlib.Path objects.
    Nr)r#rrr�_8sr&)r)rr	rr�	functools�
contextlibrr�contextmanagerr �singledispatchr%�registerr
r&rrrr�<module>s