summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-12-17 12:17:26 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-12-17 12:17:26 (GMT)
commit9a76735b1dd427f4b7d6712ca3bb2b8958e689e8 (patch)
treecf7c4136675644172eb366d5ee6468b399c9880c /Misc
parent7cff4cd7e9f45cc4d2a1ee469c133b09e9ed7633 (diff)
downloadcpython-9a76735b1dd427f4b7d6712ca3bb2b8958e689e8.zip
cpython-9a76735b1dd427f4b7d6712ca3bb2b8958e689e8.tar.gz
cpython-9a76735b1dd427f4b7d6712ca3bb2b8958e689e8.tar.bz2
Close #19946: use runpy as needed in multiprocessing
- handles main files without a suffix - handles main submodules properly - adds test cases for the various kinds of __main__
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 ee3c793..e8ab0e7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,12 @@ Core and Builtins
Library
-------
+- Issue #19946: multiprocessing now uses runpy to initialize __main__ in
+ child processes when necessary, allowing it to correctly handle scripts
+ without suffixes and submodules that use explicit relative imports or
+ otherwise rely on parent modules being correctly imported prior to
+ execution.
+
- Issue #19921: When Path.mkdir() is called with parents=True, any missing
parent is created with the default permissions, ignoring the mode argument
(mimicking the POSIX "mkdir -p" command).