summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2009-02-08 01:26:34 +0000
committerNick Coghlan <ncoghlan@gmail.com>2009-02-08 01:26:34 +0000
commitd39600e69f9782481ffadf1ada1d1da9857489e8 (patch)
tree0e25465b50a97c08a1fd957f25ebf5fd5a94475a /Misc
parente0820e2ea7b378993fcbeb82fc33d9558be85abe (diff)
downloadcpython-git-d39600e69f9782481ffadf1ada1d1da9857489e8.tar.gz
Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index cfa769c5dc..4bed872883 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -712,6 +712,7 @@ Lionel Ulmer
Roger Upole
Michael Urman
Hector Urtubia
+Andi Vajda
Atul Varma
Dmitry Vasiliev
Alexandre Vassalotti
diff --git a/Misc/NEWS b/Misc/NEWS
index 8d33ee82d6..81caead538 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -149,6 +149,10 @@ Core and Builtins
Library
-------
+- Issue #4195: The ``runpy`` module (and the ``-m`` switch) now support
+ the execution of packages by looking for and executing a ``__main__``
+ submodule when a package name is supplied.
+
- Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will
not be used again (this requires Tcl/Tk 8.3.1), also fix a memory leak in
Tkapp_Call when calling from a thread different than the one that created