Repository URL to install this package:
Version:
1.0.8-1 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
coverage
/
__pycache__
/
execfile.cpython-37.pyc
|
---|
B zï8tªäVÒã @ s d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z ddl mZmZm Z ddlmZmZ ddlmZmZmZmZmZ ddlmZ dd lmZ eeZG d d deZe rÊdd Zndd ZG dd deZdd Zdd Z dd Z!dd Z"dS )zExecute files of Python code.é N)Úenv)ÚBUILTINS)ÚPYC_MAGIC_NUMBERÚimpÚimportlib_util_find_spec)Úcanonical_filenameÚpython_reported_file)ÚCoverageExceptionÚExceptionDuringRunÚNoCodeÚNoSourceÚisolate_module)Úcompile_unicode)Úget_python_sourcec @ s e Zd ZdZdd ZdS )ÚDummyLoaderzzA shim for the pep302 __loader__, emulating pkgutil.ImpLoader. Currently only implements the .fullname attribute c G s || _ d S )N)Úfullname)Úselfr Ú_args© r ú/build/wlanpi-profiler-MIf3Xw/wlanpi-profiler-1.0.8/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/coverage/execfile.pyÚ__init__ s zDummyLoader.__init__N)Ú__name__Ú __module__Ú__qualname__Ú__doc__r r r r r r s r c C s¨ yt | }W n. tk r: } ztt|W dd}~X Y nX |sNtd| f |j}|j}|jr| d }t |}|std|| f |j}|j}| d¡d }|||fS )zFind the module named `modulename`. Returns the file path of the module, the name of the enclosing package, and the spec. NzNo module named %rz .__main__zCNo module named %s; %r is a package and cannot be directly executedÚ.r )r ÚImportErrorr ÚstrÚoriginÚnameÚsubmodule_search_locationsÚ rpartition)Ú modulenameÚspecÚerrÚpathnameÚpackagenameZmod_mainr r r Úfind_module" s&