Title: Document which importlib.machinery loaders don't require an argument for load_module()
Type: Stage:
Components: Documentation Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, python-dev
Priority: normal Keywords:

Created on 2014-05-05 13:38 by brett.cannon, last changed 2014-05-09 15:56 by brett.cannon. This issue is now closed.

Messages (2)
msg217922 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2014-05-05 13:38
Multiple loaders don't require an argument for load_module() because the module name is provided as part of instance initialization. As such it doesn't hurt to document this fact to help shorten manual calls to the instances as when people do when transitioning off of the imp module.
msg218173 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-05-09 15:56
New changeset 86042348b38a by Brett Cannon in branch '3.4':
Issue #21438: Document what loaders don't require a module name for

New changeset e9453f6fa787 by Brett Cannon in branch 'default':
Merge for issue #21438
Date User Action Args
2014-05-09 15:56:26brett.cannonsetstatus: open -> closed
resolution: fixed
2014-05-09 15:56:14python-devsetnosy: + python-dev
messages: + msg218173
2014-05-05 13:38:42brett.cannoncreate