{{ message }}
bpo-26184: import.rst: Add versionchanged note#277
Merged
Mariatta merged 1 commit intoFeb 26, 2017
Merged
Conversation
an ImportError is raised when exec_module() is defined, but create_module() is not.
Carreau
approved these changes
Feb 24, 2017
marco-buttu
suggested changes
Feb 24, 2017
Contributor
There was a problem hiding this comment.
Hi @Mariatta , it LGTM, but I would like you to add just a minor change, not directly related with this PR. In the first versionadded of the Loaders section, we do not have any markup for create_module():
.. versionadded:: 3.4
The create_module() method of loaders.
It should be:
.. versionadded:: 3.4
The :meth:`~importlib.abc.Loader.create_module` method of loaders.
Thank you very much
Sorry, something went wrong.
Member
Author
|
Thanks for the review, @Carreau and @marco-buttu . @marco-buttu, the change that you requested will require backport to 3.5 and 3.6 branches, whereas this PR will only be backported to 3.6. I will make that change as a separate PR from this. |
Sorry, something went wrong.
marco-buttu
approved these changes
Feb 25, 2017
Mariatta
added a commit
to Mariatta/cpython
that referenced
this pull request
Feb 26, 2017
Mention that an ImportError is raised when exec_module() is defined, but create_module() is not. (cherry picked from commit 6b4a5f4)
Mariatta
added a commit
that referenced
this pull request
Feb 26, 2017
akruis
added a commit
to akruis/cpython
that referenced
this pull request
Jun 30, 2021
Convert all files to Python3 and run/test them once.
jaraco
pushed a commit
that referenced
this pull request
Dec 2, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Add versionchanged note indicating that an ImportError is raised when exec_module() is defined, but create_module() is not.
http://bugs.python.org/issue26184