Issue 26397: Tweak importlib Example of importlib.import_module() to use importlib.util.module_from_spec() (original) (raw)

Issue26397

Created on 2016-02-21 00:59 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg260589 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-02-21 00:59
The example uses `spec.loader.create_module()` where it should be using `util.module_from_spec(spec)`.
msg260594 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-02-21 02:46
New changeset f2a089d68297 by Brett Cannon in branch 'default': Issue #26397: Update an importlib example to use util.module_from_spec() instead of create_module() https://hg.python.org/cpython/rev/f2a089d68297
History
Date User Action Args
2022-04-11 14:58:27 admin set github: 70585
2016-02-21 02:46:18 brett.cannon set status: open -> closedresolution: fixedstage: needs patch -> resolved
2016-02-21 02:46:03 python-dev set nosy: + python-devmessages: +
2016-02-21 00:59:08 brett.cannon create