Home
last modified time | relevance | path

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

12

/third_party/python/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()
/third_party/python/Lib/test/test_tools/
Dtest_fixcid.py5 import runpy
90 runpy.run_path(script, run_name="__main__")
/third_party/python/Lib/multiprocessing/
Dspawn.py13 import runpy
258 main_content = runpy.run_module(mod_name,
287 main_content = runpy.run_path(main_path,
/third_party/python/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
/third_party/python/Lib/
DcProfile.py133 import runpy
164 'run_module': runpy.run_module,
Dprofile.py581 import runpy
584 'run_module': runpy.run_module,
Dpdb.py1544 import runpy
1545 mod_name, mod_spec, code = runpy._get_module_details(module_name)
1698 import runpy
1700 runpy._get_module_details(mainpyfile)
Dtrace.py703 import runpy
705 mod_name, mod_spec, code = runpy._get_module_details(module_name)
/third_party/boost/libs/histogram/test/
DCMakeLists.txt8 …add_test(NAME runpy-${PROJECT_NAME}_check_build_system COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURREN…
11 …add_test(NAME runpy-${PROJECT_NAME}_check_odr_test COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SO…
/third_party/python/Lib/test/
Dtest_runpy.py21 import runpy
22 from runpy import _run_code, _run_module_code, run_module, run_path
58 "runpy": runpy,
/third_party/python/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
D3.9.0a6.rst637 Improve the error message when triying to import a module using :mod:`runpy`
D3.6.0b1.rst381 Warn if a submodule argument to "python -m" or runpy.run_module() is found
D3.6.0a1.rst2310 initialization fails, a proper traceback is now reported. The "runpy"
2321 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
/third_party/python/Doc/using/
Dcmdline.rst118 :func:`runpy.run_module`
170 :func:`runpy.run_path`
/third_party/python/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
D2.5.rst347 :mod:`runpy`.
349 The :mod:`runpy` module implements a more sophisticated import mechanism so that
D3.4.rst1009 the :class:`.InspectLoader` ABC, which means that ``runpy`` and
1149 :mod:`multiprocessing` now relies on :mod:`runpy` (which implements the
/third_party/python/Doc/reference/
Dimport.rst1029 XXX runpy, pkgutil, et al in the library manual should all get "See Also"

12