Home
last modified time | relevance | path

Searched refs:run_module (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_runpy.py22 from runpy import _run_code, _run_module_code, run_module, run_path namespace
187 """Unit tests for runpy.run_module"""
191 run_module(mod_name)
213 self.assertEqual(run_module("runpy")["__name__"], "runpy")
311 return run_module(mod_name, init_globals, alter_sys=alter_sys)
352 return run_module(pkg_name, init_globals, alter_sys=alter_sys)
409 d1 = run_module(mod_name, run_name=run_name) # Read from source
423 d2 = run_module(mod_name, run_name=run_name) # Read from bytecode
464 run_module(mod_name)
470 run_module(mod_nam
[all...]
/third_party/python/Python/
H A Dinitconfig.c680 assert(!(config->run_command != NULL && config->run_module != NULL)); in config_check_consistency()
728 CLEAR(config->run_module); in PyConfig_Clear()
999 COPY_WSTR_ATTR(run_module); in _PyConfig_Copy()
1104 SET_ITEM_WSTR(run_module); in _PyConfig_AsDict()
1392 GET_WSTR_OPT(run_module); in _PyConfig_FromDict()
2348 if (config->run_module == NULL) { in config_parse_cmdline()
2349 config->run_module = _PyMem_RawWcsdup(_PyOS_optarg); in config_parse_cmdline()
2350 if (config->run_module == NULL) { in config_parse_cmdline()
2489 if (config->run_command == NULL && config->run_module == NULL in config_parse_cmdline()
2500 if (config->run_command != NULL || config->run_module ! in config_parse_cmdline()
[all...]
/third_party/python/Modules/
H A Dmain.c87 || config->run_module != NULL); in config_run_code()
269 if (PySys_Audit("cpython.run_module", "u", modname) < 0) { in pymain_run_module()
594 else if (config->run_module) { in pymain_run_python()
595 *exitcode = pymain_run_module(config->run_module, 1); in pymain_run_python()
/third_party/python/Include/cpython/
H A Dinitconfig.h202 wchar_t *run_module; member
/third_party/python/Lib/
H A DcProfile.py163 code = "run_module(modname, run_name='__main__')"
165 'run_module': runpy.run_module,
H A Drunpy.py20 "run_module", "run_path",
171 # creation when run_module() no longer met the needs of
177 __main__ namespace. If this is not desirable, the run_module()
201 def run_module(mod_name, init_globals=None, function
298 # Here's where things are a little different from the run_module
H A Dprofile.py583 code = "run_module(modname, run_name='__main__')"
585 'run_module': runpy.run_module,
/third_party/python/Lib/multiprocessing/
H A Dspawn.py262 main_content = runpy.run_module(mod_name,
/third_party/python/PC/
H A Dpython_uwp.cpp241 status = PyConfig_SetString(&config, &config.run_module, moduleName); in wmain()

Completed in 8 milliseconds