Your IP : 52.14.204.52


Current Path : /opt/alt/python38/lib64/python3.8/importlib/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/importlib/__pycache__/__init__.cpython-38.opt-2.pyc

U

i�f��@sfddddgZddlZddlZzddlZWn,ek
rTddlmZe�ee�Yn@Xde_d	e_	ze
�d
d�e_
Wnek
r�YnXeej
d<zddlZWn0ek
r�ddlmZe�e�ee_YnBXd
e_d	e_	ze
�d
d�e_
Wnek
�rYnXeej
d
<ejZejZddlZddlZddlmZdd�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�7/opt/alt/python38/lib64/python3.8/importlib/__init__.pyrBs

cCs�tjdtdd�z.tj|j}|dkr6td�|���n|WSWn6tk
rRYn$t	k
rttd�|��d�YnXt
�||�}|dkr�dS|jdkr�|j
dkr�td�|�|d��td|d��|jS)	NzDDeprecated since Python 3.4. 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_loaderJs2�



��r#cCsXd}|�d�rB|s$d}t|�|���|D]}|dkr8qB|d7}q(t�||d�||�S)Nr�.zHthe 'package' argument is required to perform a relative import for {!r}r)�
startswith�	TypeErrorrr�_gcd_import)r�package�level�msg�	characterrrrrms

cCsP|rt|tj�std��z|jj}Wntk
r>|j}YnXtj	�
|�|k	rfd}t|�|�|d��|t
krvt
|S|t
|<z�|�d�d}|r�ztj	|}Wn,tk
r�d}t|�|�|d�d�Yq�X|j}nd}|}t�|||�}|_|dk�rtd|��|d��t�||�tj	|W�Sz
t
|=Wntk
�rHYnXXdS)Nz"reload() argument must be a modulezmodule {} not in sys.modulesrr$rzparent {!r} not in sys.moduleszspec not found for the module )�
isinstance�types�
ModuleTyper&�__spec__rr�__name__r
r�getr r�
_RELOADINGr�
rpartition�__path__rr�ModuleNotFoundError�_exec)�modulerr*�parent_name�parent�pkgpath�targetr"rrrr�sH
��

)N)N)�__all__�_impr
�_frozen_importlibrr ��_setupr0�__package__�__file__�replace�	NameErrorr�_frozen_importlib_externalr	�_pack_uint32�_unpack_uint32r-rrrr#rr2rrrrr�<module>sJ




#


?>