__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
o
0�i�, � @ s( d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm
Z
d d lmZ d d
lmZ d dlm
Z
dd
lmZ ddlZddlZddlZddlZddlZdd� Zdd� Zd#dd�Zd#dd�Zedd� �Zdd� Zdd� Zdd� ZG dd � d ej�ZG d!d"� d"e�ZdS )$� )�Loader)�module_from_spec)�
_resolve_name)�spec_from_loader)�
_find_spec)�MAGIC_NUMBER)�_RAW_MAGIC_NUMBER)�cache_from_source)�
decode_source)�source_from_cache)�spec_from_file_location� )�contextmanagerNc C s t �t| �S �N)�_imp�source_hashr )�source_bytes� r �5/opt/alt/python310/lib64/python3.10/importlib/util.pyr s r c C s^ | � d�s| S |stdt| �� d���d}| D ]}|dkr n|d7 }qt| |d � ||�S )N�.zno package specified for z% (required for relative module names)r
r )�
startswith�ImportError�reprr )�name�package�level� characterr r r �resolve_name s
r c C sp | t jvrt| |�S t j| }|d u rd S z|j}W n ty* td�| ��d �w |d u r6td�| ���|S )N�{}.__spec__ is not set�{}.__spec__ is None)�sys�modulesr �__spec__�AttributeError�
ValueError�format)r �path�module�specr r r �_find_spec_from_path* s
�r) c
C s� | � d�rt| |�n| }|tjvrH|�d�d }|rAt|dgd�}z|j}W n ty@ } z
td|�d|��|d�|�d }~ww d }t ||�S tj| }|d u rSd S z|j
}W n tyg td�| ��d �w |d u rstd �| ���|S )
Nr r
�__path__)�fromlistz __path__ attribute not found on z while trying to find )r r r )
r r r r! �
rpartition�
__import__r* r# �ModuleNotFoundErrorr r"