diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-08-21 04:07:58 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-08-21 04:07:58 (GMT) |
commit | 9c8aa9bffe755fe6126dc72dfd037c6b20e65906 (patch) | |
tree | 27f0bb6088bde14cd358eef389833b0c3d0fe56f /Misc/NEWS | |
parent | 9f957705d66bb7501d5590520778183217c301c9 (diff) | |
download | cpython-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/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |