Provides support for locating and running Python scripts using the
Python module namespace instead of the native filesystem.
This allows Python code to play nicely with non-filesystem based PEP
302 importers when locating support scripts as well as when importing
modules.
|
_run_code(code,
run_globals,
init_globals,
mod_name,
mod_fname,
mod_loader)
Helper for _run_module_code |
|
|
|
_run_module_code(code,
init_globals=None,
mod_name=None,
mod_fname=None,
mod_loader=None,
alter_sys=False)
Helper for run_module |
|
|
|
_get_filename(loader,
mod_name) |
|
|
|
run_module(mod_name,
init_globals=None,
run_name=None,
alter_sys=False)
Execute a module's code without importing it |
|
|