This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: module_from_spec() should raise an error in 3.6
Type: behavior Stage: resolved
Components: Interpreter Core Versions: Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.snow Nosy List: brett.cannon, eric.snow, python-dev
Priority: normal Keywords: patch

Created on 2016-09-08 18:01 by eric.snow, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
module_from_spec.diff eric.snow, 2016-09-08 18:01 review
Messages (3)
msg275086 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2016-09-08 18:01
In Lib/importlib/_bootstrap.py, module_from_spec() specifies that the current deprecation warning should be an error in 3.6.  So, here's a patch.
msg275089 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-09-08 18:03
LGTM
msg275098 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-09-08 18:14
New changeset ada5620efd82 by Eric Snow in branch 'default':
Issue #28026: Raise ImportError when exec_module() exists but create_module() is missing.
https://hg.python.org/cpython/rev/ada5620efd82
History
Date User Action Args
2022-04-11 14:58:36adminsetgithub: 72213
2016-09-08 18:15:10eric.snowsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2016-09-08 18:14:41python-devsetnosy: + python-dev
messages: + msg275098
2016-09-08 18:03:19brett.cannonsetmessages: + msg275089
2016-09-08 18:01:32eric.snowcreate