Issue 28026: module_from_spec() should raise an error in 3.6 (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/72213

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:36 admin set github: 72213
2016-09-08 18:15:10 eric.snow set status: open -> closedresolution: fixedstage: patch review -> resolved
2016-09-08 18:14:41 python-dev set nosy: + python-devmessages: +
2016-09-08 18:03:19 brett.cannon set messages: +
2016-09-08 18:01:32 eric.snow create