\x89\x50\x4E\x47\x0D\x0A\x1A\x0A PNG  \x89\x50\x4E\x47\x0D\x0A\x1A\x0A ó 1è3\c@@sÿdZddlmZddlZddlZddlZddlZddlZe a dej j 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__tignorestloadert exec_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.pyt deactivatedTs   (R t __future__Rt contextlibt importlib.abcR timportlib.machinerytimportlib.utilRR"Rtutilt LazyLoaderRtfactoryR tExtensionFileLoaderRtSourcelessFileLoaderRtSourceFileLoaderRRtsetRRRRR!tcontextmanagerR$(((sD/usr/lib64/python2.7/site-packages/hgdemandimport/demandimportpy3.pyts(