Your IP : 3.135.247.237
Current Path : /lib64/python2.7/ |
|
Current File : //lib64/python2.7/imputil.pyo |
�
zfc @ sZ d Z d d l m Z e d d d �[ d d l Z d d l Z d d l Z d d l Z d d l Z d d d g Z e d
� Z
e e � Z d d d � � YZ d d d � � YZ
e r� d
p� d Z d e Z d � Z d a a d � Z d � Z d � Z d e
f d � � YZ d e
f d � � YZ d � Z d d d � � YZ d � Z d � Z d S( s
Import utilities
Exported classes:
ImportManager Manage the import process
Importer Base class for replacing standard import functions
BuiltinImporter Emulate the import mechanism for builtin and frozen modules
DynLoadSuffixImporter
i����( t warnpy3ks1 the imputil module has been removed in Python 3.0t
stackleveli Nt
ImportManagert Importert BuiltinImportert c B sq e Z d Z e e � d � Z d � Z d � Z d Z d d � Z
d d d d � Z d � Z d � Z
d � Z RS(
s Manage the import process.c C sE t | t � r t | � } n | d | _ | | _ | j | d <d S( s8 Install this ImportManager into the specified namespace.t
__import__N( t
isinstancet _ModuleTypet varst previous_importert namespacet _import_hook( t selfR ( ( s /usr/lib64/python2.7/imputil.pyt install! s
c C s | j | j d <d S( s&