Your IP : 18.118.186.156


Current Path : /opt/alt/python310/lib64/python3.10/importlib/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/importlib/__pycache__/__init__.cpython-310.opt-2.pyc

o

6��f��@sR	gd�ZddlZddlZzddlZWney(ddlmZe�ee�Ynwde_de_	z	e
�dd�e_
Wn	eyAYnweej
d<zddlZWneyddd	lmZe�e�ee_Ynwd
e_de_	z	e
�dd�e_
Wn	ey}Ynweej
d
<ejZejZddlZddlmZd
d�Zddd�Zddd�ZiZdd�ZdS))�
__import__�
import_module�invalidate_caches�reload�N�)�
_bootstrapzimportlib._bootstrap�	importlibz__init__.pyz
_bootstrap.py)�_bootstrap_externalzimportlib._bootstrap_externalz_bootstrap_external.py)rcCs$	tjD]}t|d�r|��qdS)Nr)�sys�	meta_path�hasattrr)�finder�r�9/opt/alt/python310/lib64/python3.10/importlib/__init__.pyrAs

��rcCs�	tjdtdd�ztj|j}|durtd�|���|WSty&Ynt	y4td�|��d�wt
�||�}|durAdS|jdurZ|j
durTtd�|�|d��td|d��|jS)	NziDeprecated since Python 3.4 and slated for removal in Python 3.12; use importlib.util.find_spec() instead�)�
stacklevelz{}.__loader__ is Nonez{}.__loader__ is not setzspec for {} missing loader��namez&namespace packages do not have loaders)�warnings�warn�DeprecationWarningr
�modules�
__loader__�
ValueError�format�KeyError�AttributeErrorr�
_find_spec�loader�submodule_search_locations�ImportError)r�pathr�specrrr�find_loaderIs4��


��r#cCsZ	d}|�d�r"|sd}t|�|���|D]}|dkrn|d7}qt�||d�||�S)Nr�.zHthe 'package' argument is required to perform a relative import for {!r}r)�
startswith�	TypeErrorrr�_gcd_import)r�package�level�msg�	characterrrrrls

rcCs\	z|jj}Wnty!z|j}Wntytd��wYnwtj�|�|ur5d}t|�	|�|d��|t
vr=t
|S|t
|<z]|�d�d}|rjztj|}Wntyed}t|�	|�|d�d�w|j
}nd}|}t�|||�}|_|dur�td|��|d��t�||�tj|Wzt
|=WSty�YSwzt
|=Wwty�Yww)Nz"reload() argument must be a modulezmodule {} not in sys.modulesrr$rzparent {!r} not in sys.moduleszspec not found for the module )�__spec__rr�__name__r&r
r�getr r�
_RELOADING�
rpartitionr�__path__rr�ModuleNotFoundError�_exec)�modulerr*�parent_name�parent�pkgpath�targetr"rrrr�s`
���
���

��
�r)N)�__all__�_impr
�_frozen_importlibrr ��_setupr-�__package__�__file__�replace�	NameErrorr�_frozen_importlib_externalr	�_set_bootstrap_module�_pack_uint32�_unpack_uint32rrrr#rr/rrrrr�<module>sT
��


��


#

?>