Searched refs:runpy (Results 1 – 25 of 30) sorted by relevance
12
/third_party/python/Modules/ |
D | main.c | 261 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/ |
D | test_fixcid.py | 5 import runpy 90 runpy.run_path(script, run_name="__main__")
|
/third_party/python/Lib/multiprocessing/ |
D | spawn.py | 13 import runpy 258 main_content = runpy.run_module(mod_name, 287 main_content = runpy.run_path(main_path,
|
/third_party/python/Doc/library/ |
D | runpy.rst | 1 :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:
|
D | modules.rst | 18 runpy.rst
|
D | tracemalloc.rst | 173 File "/usr/lib/python3.4/runpy.py", line 73 175 File "/usr/lib/python3.4/runpy.py", line 160
|
D | __main__.rst | 264 See :mod:`runpy` for more details on the :option:`-m` flag to the
|
/third_party/python/Lib/ |
D | cProfile.py | 133 import runpy 164 'run_module': runpy.run_module,
|
D | profile.py | 581 import runpy 584 'run_module': runpy.run_module,
|
D | pdb.py | 1544 import runpy 1545 mod_name, mod_spec, code = runpy._get_module_details(module_name) 1698 import runpy 1700 runpy._get_module_details(mainpyfile)
|
D | trace.py | 703 import runpy 705 mod_name, mod_spec, code = runpy._get_module_details(module_name)
|
/third_party/boost/libs/histogram/test/ |
D | CMakeLists.txt | 8 …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/ |
D | test_runpy.py | 21 import runpy 22 from runpy import _run_code, _run_module_code, run_module, run_path 58 "runpy": runpy,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a5.rst | 505 The ``ensurepip`` module now invokes ``pip`` via the ``runpy`` module. Hence 655 Fix runpy.run_path() when using pathlike objects
|
D | 3.5.2rc1.rst | 1458 initialization fails, a proper traceback is now reported. The "runpy" 1469 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
|
D | 3.9.0a6.rst | 637 Improve the error message when triying to import a module using :mod:`runpy`
|
D | 3.6.0b1.rst | 381 Warn if a submodule argument to "python -m" or runpy.run_module() is found
|
D | 3.6.0a1.rst | 2310 initialization fails, a proper traceback is now reported. The "runpy" 2321 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
|
D | 3.5.3rc1.rst | 329 Warn if a submodule argument to "python -m" or runpy.run_module() is found
|
/third_party/python/Doc/using/ |
D | cmdline.rst | 118 :func:`runpy.run_module` 170 :func:`runpy.run_path`
|
/third_party/python/Doc/whatsnew/ |
D | 3.1.rst | 317 * The :mod:`runpy` module which supports the ``-m`` command line switch
|
D | 2.7.rst | 1462 * New function: :func:`~runpy.run_path` in the :mod:`runpy` module 1472 of :mod:`runpy` available to scripts that want to mimic the way
|
D | 2.5.rst | 347 :mod:`runpy`. 349 The :mod:`runpy` module implements a more sophisticated import mechanism so that
|
D | 3.4.rst | 1009 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/ |
D | import.rst | 1029 XXX runpy, pkgutil, et al in the library manual should all get "See Also"
|
12