Public Member Functions | List of all members
VFSSharedImporter Class Reference

Public Member Functions

def __init__ (self)
def find_module (self, fullname, path=None, reload=False)
def getLoadedDirname (self, mod)

Detailed Description

This is a special importer that is added onto the meta_path
list, so that it is called before sys.path is traversed.  It uses
special logic to load one of the "shared" packages, by searching
the entire sys.path for all instances of this shared package, and
merging them. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ find_module()

def find_module (   self,
  path = None,
  reload = False 

◆ getLoadedDirname()

def getLoadedDirname (   self,
Returns the directory name that the indicated
conventionally-loaded module must have been loaded from.