This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: document importlib.reload() requires __loader__ to be defined
Type: Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4
process
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 2022-04-11 14:57 by admin. 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) (Python triager) 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__
http://hg.python.org/cpython/rev/f575f6298eb1
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.
History
Date User Action Args
2022-04-11 14:57:52adminsetgithub: 63591
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