You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missed reference to create_module() in versionadded (import.rst) #73834
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-02-26.15:41:55.679>created_at=<Date2017-02-25.11:22:08.905>labels= ['3.7', 'docs']
title='Missed reference to create_module() in versionadded (import.rst)'updated_at=<Date2017-03-24.23:42:22.346>user='https://github.com/marco-buttu'
Thanks, Marco. Your change looks good to me.
I'm now wondering if this should have been 'versionchanged' instead of 'versionadded'. Perhaps other core devs can confirm this.
Version added is correct here, as the "create_module()" methods are all new in 3.4, and the traditional granularity for deciding "addition or change?" is that new functions, methods, and attributes are always additions, even if they're being added to a class definition.
Activity
marco-buttu commentedon Feb 25, 2017
In the first
versionaddedof the Loader section [1] of Doc/reference/import.rst, there is no reference tocreate_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.
I will make a PR.
[1] https://docs.python.org/3/reference/import.html#loaders
Mariatta commentedon Feb 25, 2017
Thanks, Marco. Your change looks good to me.
I'm now wondering if this should have been 'versionchanged' instead of 'versionadded'. Perhaps other core devs can confirm this.
Thanks :)
ncoghlan commentedon Feb 26, 2017
Version added is correct here, as the "create_module()" methods are all new in 3.4, and the traditional granularity for deciding "addition or change?" is that new functions, methods, and attributes are always additions, even if they're being added to a class definition.
Mariatta commentedon Feb 26, 2017
Thanks for the clarification, Nick :)
Marco, I merged your PR, and backported to 3.5 and 3.6 branches.
Thanks!
Mariatta commentedon Mar 24, 2017
New changeset 63ed9bc by Mariatta in branch '3.5':
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-315)
63ed9bc
Mariatta commentedon Mar 24, 2017
New changeset 7333d17 by Mariatta in branch '3.6':
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)
7333d17
Mariatta commentedon Mar 24, 2017
New changeset 46ce759 by Mariatta (Marco Buttu) in branch 'master':
bpo-29648: import.rst: Add reference to create_module() (GH-290)
46ce759