summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-08-21 04:07:58 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-08-21 04:07:58 (GMT)
commit9c8aa9bffe755fe6126dc72dfd037c6b20e65906 (patch)
tree27f0bb6088bde14cd358eef389833b0c3d0fe56f /Misc
parent9f957705d66bb7501d5590520778183217c301c9 (diff)
downloadcpython-9c8aa9bffe755fe6126dc72dfd037c6b20e65906.zip
cpython-9c8aa9bffe755fe6126dc72dfd037c6b20e65906.tar.gz
cpython-9c8aa9bffe755fe6126dc72dfd037c6b20e65906.tar.bz2
Issue #27487: Warn if submodule already imported before runpy execution
Also try to clarify the find_spec() error message.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3d2cc19..1ecb6f1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: TBA
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 #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.