summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2009-11-15 07:30:34 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2009-11-15 07:30:34 (GMT)
commit49868cb686954e57a6ab6bfea2cefeefb86305b1 (patch)
tree4e26a0452fac75a8a25ad6825729eab8ec2d0cf3 /Misc
parent51200277b23fd9faca5f03dae127221e9b67e7f1 (diff)
downloadcpython-49868cb686954e57a6ab6bfea2cefeefb86305b1.zip
cpython-49868cb686954e57a6ab6bfea2cefeefb86305b1.tar.gz
cpython-49868cb686954e57a6ab6bfea2cefeefb86305b1.tar.bz2
Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index afa286d..3feccda 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -429,6 +429,12 @@ Core and Builtins
Library
-------
+- Issue #6816: runpy now provides a run_path function that allows Python code
+ to execute file paths that refer to source or compiled Python files as well
+ as zipfiles, directories and other valid sys.path entries that contain a
+ __main__.py file. This allows applications that run other Python scripts to
+ support the same flexibility as the CPython command line itself.
+
- Issue #7318: multiprocessing now uses a timeout when it fails to establish
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for