GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — bpo-26184: import.rst: Add versionchanged note by Mariatta · Pull Request #277 · python/cpython Conversationan ImportError is raised when exec_module() is defined, but create_module() is not.
Carreau
approved these changes
marco-buttu
suggested changes
|
|
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.
There was an error while loading. Please reload this page.
Mention that an ImportError is raised when exec_module() is defined, but create_module() is not. (cherry picked from commit 6b4a5f4)
|
|
||
| .. versionchanged:: 3.6 | ||
| An :exc:`ImportError` is raised when ``exec_module()`` is defined but | ||
| ``create_module`` is not. |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I guess create_module should be create_module() here since the latter form is also used in the first versionchanged note.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this, @berkerpeksag! I fixed it in GH-325
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Convert all files to Python3 and run/test them once.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.