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: Add versionchanged note for error when create_module() is not defined by loaders
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Mariatta, brett.cannon, docs@python, eric.snow, mbussonn, ncoghlan
Priority: normal Keywords: easy

Created on 2016-01-22 22:31 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 277 closed Mariatta, 2017-02-24 20:08
PR 320 merged Mariatta, 2017-02-26 15:38
PR 325 merged Mariatta, 2017-02-26 21:08
PR 326 merged Mariatta, 2017-02-26 21:25
Messages (8)
msg258840 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-01-22 22:31
As explained in https://docs.python.org/3/reference/import.html#loaders, as of Python 3.6 an error is to be raised when a loader defines exec_module() but not create_module(). Probably should raise a TypeError.
msg288502 - (view) Author: Matthias Bussonnier (mbussonn) * Date: 2017-02-24 03:59
should be closed by #28026, it now raises an ImportError. I think this can be closed. Unless one want to change the text in Starting in Python 3.6 it will be an error

> Starting in Python 3.6 it will be an error

To use the past tense.
msg288505 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2017-02-24 07:07
That should actually be a versionchanged note now - converting this to an easy documentation issue to cover that change.
msg288614 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-02-26 21:39
Merged and backported to 3.6.
Closing this issue :) 
Thanks.
msg290373 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-03-24 23:39
New changeset 7e4897a2fb91e49f131a42ed6de88b5185f7dea8 by Mariatta in branch '3.6':
bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
https://github.com/python/cpython/commit/7e4897a2fb91e49f131a42ed6de88b5185f7dea8
msg290374 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-03-24 23:39
New changeset 1f5639c77f736c18fb5a85b4a1850121e25c788e by Mariatta in branch 'master':
bpo-26184: import.rst: Improve versionchanged note (GH-325)
https://github.com/python/cpython/commit/1f5639c77f736c18fb5a85b4a1850121e25c788e
msg290381 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-03-24 23:40
New changeset deea29e61e61f0e216bff3f0ca008f5ee231793f by Mariatta in branch '3.6':
bpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)
https://github.com/python/cpython/commit/deea29e61e61f0e216bff3f0ca008f5ee231793f
msg290386 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-03-24 23:41
New changeset 6b4a5f45e2df524174a97832571c82c76a3d424a by Mariatta in branch 'master':
bpo-26184: import.rst: Improve versionchanged note (GH-277)
https://github.com/python/cpython/commit/6b4a5f45e2df524174a97832571c82c76a3d424a
History
Date User Action Args
2022-04-11 14:58:26adminsetgithub: 70372
2017-03-24 23:41:35Mariattasetmessages: + msg290386
2017-03-24 23:40:43Mariattasetmessages: + msg290381
2017-03-24 23:39:23Mariattasetmessages: + msg290374
2017-03-24 23:39:05Mariattasetmessages: + msg290373
2017-02-26 21:39:41Mariattasetstatus: open -> closed

nosy: + Mariatta
messages: + msg288614

resolution: fixed
stage: needs patch -> resolved
2017-02-26 21:25:59Mariattasetpull_requests: + pull_request286
2017-02-26 21:08:47Mariattasetpull_requests: + pull_request285
2017-02-26 15:38:53Mariattasetpull_requests: + pull_request281
2017-02-24 20:08:28Mariattasetpull_requests: + pull_request247
2017-02-24 07:07:11ncoghlansetassignee: docs@python

components: + Documentation, - Interpreter Core
title: raise an error when create_module() is not defined by exec_module() is for loaders -> Add versionchanged note for error when create_module() is not defined by loaders
keywords: + easy
nosy: + docs@python
versions: + Python 3.7
messages: + msg288505
stage: test needed -> needs patch
2017-02-24 03:59:36mbussonnsetnosy: + mbussonn
messages: + msg288502
2016-01-22 22:31:00brett.cannoncreate