Title: document importlib.reload() requires __loader__ to be defined
Type: Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: brett.cannon, docs@python, eric.snow, python-dev
Priority: normal Keywords:

Created on 2013-10-25 17:00 by brett.cannon, last changed 2013-10-25 17:53 by brett.cannon. This issue is now closed.

Messages (3)
msg201259 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-10-25 17:00
Make sure importlib.reload() (and by extension imp.reload()) mention that __loader__ must be defined as well as __name__.
msg201264 - (view) Author: Roundup Robot (python-dev) Date: 2013-10-25 17:49
New changeset f575f6298eb1 by Brett Cannon in branch '3.3':
Issue #19392: Document that imp.reload() now relies on __loader__
msg201267 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-10-25 17:53
importlib.reload() already states that the loader is reused, so this only required imp.reload() to be updated.
Date User Action Args
2013-10-25 17:53:56brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg201267

stage: resolved
2013-10-25 17:49:32python-devsetnosy: + python-dev
messages: + msg201264
2013-10-25 17:24:37eric.snowsetnosy: + eric.snow
2013-10-25 17:00:54brett.cannoncreate