Home
last modified time | relevance | path

Searched refs:runpy (Results 1 – 25 of 34) sorted by relevance

12

/external/python/cpython2/Modules/
Dmain.c177 PyObject *runpy, *runmodule, *runargs, *result; in RunModule() local
178 runpy = PyImport_ImportModule("runpy"); in RunModule()
179 if (runpy == NULL) { in RunModule()
183 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in RunModule()
186 Py_DECREF(runpy); in RunModule()
193 Py_DECREF(runpy); in RunModule()
201 Py_DECREF(runpy); in RunModule()
/external/fonttools/Lib/fontTools/
D__main__.py28 import runpy
29 runpy.run_module(mod, run_name='__main__')
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py13 import runpy
247 main_content = runpy.run_module(mod_name,
276 main_content = runpy.run_path(main_path,
/external/python/cpython3/Lib/test/test_tools/
Dtest_fixcid.py5 import runpy
89 runpy.run_path(script, run_name="__main__")
/external/python/cpython3/Doc/library/
Drunpy.rst1 :mod:`runpy` --- Locating and executing Python modules
4 .. module:: runpy
9 **Source code:** :source:`Lib/runpy.py`
13 The :mod:`runpy` module is used to locate and run Python modules without
23 guaranteed to work correctly after a :mod:`runpy` function has returned.
27 The :mod:`runpy` module provides two functions:
Dmodules.rst18 runpy.rst
Dtracemalloc.rst173 File "/usr/lib/python3.4/runpy.py", line 73
175 File "/usr/lib/python3.4/runpy.py", line 160
/external/python/cpython2/Doc/library/
Drunpy.rst1 :mod:`runpy` --- Locating and executing Python modules
4 .. module:: runpy
11 **Source code:** :source:`Lib/runpy.py`
15 The :mod:`runpy` module is used to locate and run Python modules without
20 The :mod:`runpy` module provides two functions:
Dmodules.rst22 runpy.rst
/external/python/cpython3/Lib/
DcProfile.py126 import runpy
152 'run_module': runpy.run_module,
Dpdb.py1531 import runpy
1532 mod_name, mod_spec, code = runpy._get_module_details(module_name)
/external/python/cpython2/Lib/test/
Dtest_tools.py8 import runpy
442 runpy.run_path(script, run_name="__main__")
Dtest_runpy.py13 from runpy import _run_code, _run_module_code, run_module, run_path
/external/python/cpython3/Modules/
Dmain.c288 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local
289 runpy = PyImport_ImportModule("runpy"); in pymain_run_module()
290 if (runpy == NULL) { in pymain_run_module()
295 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in pymain_run_module()
299 Py_DECREF(runpy); in pymain_run_module()
306 Py_DECREF(runpy); in pymain_run_module()
315 Py_DECREF(runpy); in pymain_run_module()
324 Py_DECREF(runpy); in pymain_run_module()
/external/python/cpython3/Lib/test/
Dtest_runpy.py18 import runpy
19 from runpy import _run_code, _run_module_code, run_module, run_path
55 "runpy": runpy,
/external/python/cpython2/Misc/
Dmaintainers.rst191 runpy ncoghlan
/external/python/cpython2/Doc/using/
Dcmdline.rst108 :func:`runpy.run_module`
134 :func:`runpy.run_path`
/external/python/cpython3/Doc/using/
Dcmdline.rst110 :func:`runpy.run_module`
152 :func:`runpy.run_path`
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst1459 initialization fails, a proper traceback is now reported. The "runpy"
1470 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
D3.6.0b1.rst381 Warn if a submodule argument to "python -m" or runpy.run_module() is found
D3.6.0a1.rst2311 initialization fails, a proper traceback is now reported. The "runpy"
2322 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
D3.5.3rc1.rst329 Warn if a submodule argument to "python -m" or runpy.run_module() is found
/external/python/cpython3/Doc/whatsnew/
D3.1.rst317 * The :mod:`runpy` module which supports the ``-m`` command line switch
D2.7.rst1462 * New function: :func:`~runpy.run_path` in the :mod:`runpy` module
1472 of :mod:`runpy` available to scripts that want to mimic the way
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst1700 runpy now provides a run_path function that allows Python code to execute
3918 The ``runpy`` module (and the ``-m`` switch) now support the execution of
4459 Add runpy support to zipimport in a manner that allows backporting to

12