Home
last modified time | relevance | path

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

12

/external/python/cpython2/Modules/
Dmain.c182 PyObject *runpy, *runmodule, *runargs, *result; in RunModule() local
183 runpy = PyImport_ImportModule("runpy"); in RunModule()
184 if (runpy == NULL) { in RunModule()
188 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in RunModule()
191 Py_DECREF(runpy); in RunModule()
198 Py_DECREF(runpy); in RunModule()
206 Py_DECREF(runpy); in RunModule()
/external/python/cpython3/Modules/
Dmain.c261 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local
265 runpy = PyImport_ImportModule("runpy"); in pymain_run_module()
266 if (runpy == NULL) { in pymain_run_module()
270 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in pymain_run_module()
273 Py_DECREF(runpy); in pymain_run_module()
279 Py_DECREF(runpy); in pymain_run_module()
287 Py_DECREF(runpy); in pymain_run_module()
297 Py_DECREF(runpy); in pymain_run_module()
/external/fonttools/Lib/fontTools/
D__main__.py29 import runpy
30 runpy.run_module(mod, run_name='__main__')
/external/python/cpython3/Lib/test/test_tools/
Dtest_fixcid.py5 import runpy
90 runpy.run_path(script, run_name="__main__")
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py13 import runpy
258 main_content = runpy.run_module(mod_name,
287 main_content = runpy.run_path(main_path,
/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
D__main__.rst264 See :mod:`runpy` for more details on the :option:`-m` flag to the
/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.py133 import runpy
164 'run_module': runpy.run_module,
Dprofile.py581 import runpy
584 'run_module': runpy.run_module,
Dpdb.py1547 import runpy
1548 mod_name, mod_spec, code = runpy._get_module_details(module_name)
1701 import runpy
1703 runpy._get_module_details(mainpyfile)
Dtrace.py703 import runpy
705 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/setuptools/docs/userguide/
Dentry_point.rst44 `runpy <https://docs.python.org/3/library/runpy.html>`_ module:
/external/python/cpython3/Lib/test/
Dtest_runpy.py21 import runpy
22 from runpy import _run_code, _run_module_code, run_module, run_path
58 "runpy": runpy,
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_unittest_test.py25 import runpy
764 retval += runpy.run_path(config)
766 retval += runpy.run_module(config)
/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/Misc/NEWS.d/
D3.9.0a5.rst505 The ``ensurepip`` module now invokes ``pip`` via the ``runpy`` module. Hence
655 Fix runpy.run_path() when using pathlike objects
D3.5.2rc1.rst1458 initialization fails, a proper traceback is now reported. The "runpy"
1469 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
/external/python/cpython3/Doc/using/
Dcmdline.rst118 :func:`runpy.run_module`
170 :func:`runpy.run_path`

12