This module contains helper functions for working with the module
cache.
|
modulename_from_checksum(checksum)
Construct a module name from a checksum for use in cache. |
source code
|
|
|
checksum_from_modulename(modulename)
Construct a module name from a checksum for use in cache. |
source code
|
|
|
import_module_directly(path,
modulename)
Import a module with the given module name that resides in the given
path. |
source code
|
|
|
memory_cached_module(moduleid)
Returns the cached module if found. |
source code
|
|
|
place_module_in_memory_cache(moduleid,
module)
Place a compiled module in cache with given id. |
source code
|
|
|
|
|
import_and_cache_module(path,
modulename,
moduleids) |
source code
|
|
|
|
|
check_disk_cache(modulename,
cache_dir,
moduleids) |
source code
|
|
|
import_module(moduleid,
cache_dir=None)
Import module from cache given its moduleid and an optional cache
directory. |
source code
|
|
|
cached_modules(cache_dir=None)
Return a list with the names of all cached modules. |
source code
|
|