diff options
| author | Nick Coghlan <ncoghlan@gmail.com> | 2009-02-08 01:26:34 +0000 |
|---|---|---|
| committer | Nick Coghlan <ncoghlan@gmail.com> | 2009-02-08 01:26:34 +0000 |
| commit | d39600e69f9782481ffadf1ada1d1da9857489e8 (patch) | |
| tree | 0e25465b50a97c08a1fd957f25ebf5fd5a94475a /Misc | |
| parent | e0820e2ea7b378993fcbeb82fc33d9558be85abe (diff) | |
| download | cpython-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/ACKS | 1 | ||||
| -rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -712,6 +712,7 @@ Lionel Ulmer Roger Upole Michael Urman Hector Urtubia +Andi Vajda Atul Varma Dmitry Vasiliev Alexandre Vassalotti @@ -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 |
