o 0¦iÉã@sTdZgd¢ZddlZddlZzddlZWney)ddlmZe ee¡Ynwde_ de_ z e   dd ¡e_ Wn e yBYnweejd<zddlZWneyedd lmZe e¡ee_Ynwd e_ de_ z e   dd ¡e_ Wn e y~Ynweejd <ejZejZddlZdd lmZdd„Zddd„Zddd„ZiZdd„ZdS)z'A pure Python implementation of import.)Ú __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)zmCall the invalidate_caches() method on all meta path finders stored in sys.meta_path (where implemented).rN)ÚsysÚ meta_pathÚhasattrr)Úfinder©rú9/opt/alt/python310/lib64/python3.10/importlib/__init__.pyrAs  €þrcCs¸tjdtdd�ztj|j}|durtd |¡ƒ‚|WSty%Ynt y3td |¡ƒd‚wt   ||¡}|dur@dS|j durY|j durStd |¡|d�‚td |d�‚|j S) z¹Return the loader for the specified module. This is a backward-compatible wrapper around find_spec(). This function is deprecated in favor of importlib.util.find_spec(). ziDeprecated since Python 3.4 and slated for removal in Python 3.12; use importlib.util.find_spec() insteadé)Ú stacklevelNz{}.__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_loaderIs2þ   ÿ    ÿÿr#cCsXd}| d¡r!|sd}t| |¡ƒ‚|D] }|dkrn|d7}qt ||d…||¡S)zÞImport a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. rÚ.zHthe 'package' argument is required to perform a relative import for {!r}rN)Ú startswithÚ TypeErrorrrÚ _gcd_import)rÚpackageÚlevelÚmsgÚ characterrrrrls  rcCsZz|jj}Wnty z|j}Wn tytdƒ‚wYnwtj |¡|ur4d}t|  |¡|d�‚|t vrsT    þ ý      ý ý    #