From: Martin Panter Date: Sun, 21 Aug 2016 05:07:35 +0000 (+0000) Subject: Issue #27487: Merge runpy warning from 3.5 X-Git-Tag: v3.6.0b1~619 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9ed528fafafda147f20f345195ced23b141ace9;p=python Issue #27487: Merge runpy warning from 3.5 --- f9ed528fafafda147f20f345195ced23b141ace9 diff --cc Misc/NEWS index 13e7f36403,1ecb6f1f94..ea4aa3fce0 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,9 -10,10 +10,13 @@@ What's New in Python 3.6.0 beta Core and Builtins ----------------- + - Issue #27487: Warn if a submodule argument to "python -m" or + runpy.run_module() is found in sys.modules after parent packages are + imported, but before the submodule is executed. + +- Issue #27157: Make only type() itself accept the one-argument form. + Patch by Eryk Sun and Emanuel Barry. + - Issue #27558: Fix a SystemError in the implementation of "raise" statement. In a brand new thread, raise a RuntimeError since there is no active exception to reraise. Patch written by Xiang Zhang.