Repository URL to install this package:
|
Version:
0.1.3 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
setuptools
/
__pycache__
/
_imp.cpython-311.pyc
|
|---|
§
O>g ã óf d Z ddlZddlZddlZddlZddlmZ dZdZdZ dZ
dZd Zd
d
Z
d
dZd ZdS )zX
Re-implementation of find_module and get_frozen_object
from the deprecated imp module.
é N)Úmodule_from_specé é é é é c ó¬ t |t ¦ « r#t j ¦ « j nt j j } || |¦ « S ©N)Ú
isinstanceÚlistÚ importlibÚ machineryÚ
PathFinderÚ find_specÚutil)ÚmoduleÚpathsÚfinders ú6/tmp/pip-target-qlpkiub5/lib/python/setuptools/_imp.pyr r sN õ eTÑ"Ô"ð & Ô×&Ò&Ñ(Ô(Ô2Ð2å
^Ô
%ð ð
6&%Ñ Ô Ð ó c ó t | |¦ « }|t d| z ¦ « |j s5t |d¦ « r%t j d|j ¦ « }d}d}t |j t ¦ « }|j
dk s&|r3t |j t j j
¦ « rt }d}dx}}n|j
dk s&|r2t |j t j j ¦ « rt }d}dx}}nÅ|j r¸|j
}t" j |¦ « d }|t j j v rd
nd}|t j j v rt* }t- j |¦ « }nL|t j j v rt2 }t/ |d¦ « }n!|t j j v rt6 }nd}dx}}|||||ffS )z7Just like 'imp.find_module()', but with package supportNú
Can't find %sÚsubmodule_search_locationsz__init__.pyéÿÿÿÿÚfrozenÚ zbuilt-inr ÚrÚrb)r ÚImportErrorÚhas_locationÚhasattrr
r Úspec_from_loaderÚloaderr ÚtypeÚoriginÚ
issubclassr ÚFrozenImporterÚ PY_FROZENÚBuiltinImporterÚ C_BUILTINÚosÚpathÚsplitextÚSOURCE_SUFFIXESÚ PY_SOURCEÚtokenizeÚopenÚBYTECODE_SUFFIXESÚPY_COMPILEDÚEXTENSION_SUFFIXESÚC_EXTENSION) r r ÚspecÚkindÚfileÚstaticr, ÚsuffixÚmodes r Úfind_moduler<