HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/self/root/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyc
�
1�3\c@@s�dZddlmZddlZddlZddlZddlZddlZe	a
dejjfd��YZ
e
jejj�Ze
jejj�Ze
jejj�Zd�Ze�ad�Zd�Zd	�Zd
�Zejd��ZdS(s�Lazy loading for Python 3.6 and above.

This uses the new importlib finder/loader functionality available in Python 3.5
and up. The code reuses most of the mechanics implemented inside importlib.util,
but with a few additions:

* Allow excluding certain modules from lazy imports.
* Expose an interface that's substantially the same as demandimport for
  Python 2.

This also has some limitations compared to the Python 2 implementation:

* Much of the logic is per-package, not per-module, so any packages loaded
  before demandimport is enabled will not be lazily imported in the future. In
  practice, we only expect builtins to be loaded before demandimport is
  enabled.
i(tabsolute_importNt
_lazyloaderexcB@seZdZd�ZRS(saThis is a LazyLoader except it also follows the _deactivated global and
    the ignore list.
    cC@s<ts|jtkr(|jj|�nt�j|�dS(sMake the module load lazily.N(t_deactivatedt__name__tignorestloadertexec_moduletsuper(tselftmodule((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyR)s(Rt
__module__t__doc__R(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyR%scC@s=tjj|ttjjfttjjfttjjf�S(N(	t	importlibt	machineryt
FileFindert_extensions_loadertEXTENSION_SUFFIXESt_source_loadertSOURCE_SUFFIXESt_bytecode_loadertBYTECODE_SUFFIXES(tpath((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyt_makefinder8s
	cC@s
|adS(N(R(t	ignoreset((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pytinitCscC@sttjkotS(N(Rtsyst
path_hooksR(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyt	isenabledGscC@s9y!xtrtjjt�qWWntk
r4nXdS(N(tTrueRRtremoveRt
ValueError(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pytdisableJs
	
cC@stjjdt�dS(Ni(RRtinsertR(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pytenableQscc@s8t�}|rtanz	dVWd|r3tanXdS(N(RRRtFalse(t
demandenabled((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pytdeactivatedTs			(Rt
__future__Rt
contextlibt
importlib.abcRtimportlib.machinerytimportlib.utilRR"Rtutilt
LazyLoaderRtfactoryR
tExtensionFileLoaderRtSourcelessFileLoaderRtSourceFileLoaderRRtsetRRRRR!tcontextmanagerR$(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyt<module>s(