Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document importlib.reload() requires __loader__ to be defined #63591

Closed
brettcannon opened this issue Oct 25, 2013 · 3 comments
Closed

document importlib.reload() requires __loader__ to be defined #63591

brettcannon opened this issue Oct 25, 2013 · 3 comments
Labels
docs Documentation in the Doc dir

Comments

@brettcannon
Copy link
Member

BPO 19392
Nosy @brettcannon, @ericsnowcurrently

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 = None
closed_at = <Date 2013-10-25.17:53:56.111>
created_at = <Date 2013-10-25.17:00:54.434>
labels = ['docs']
title = 'document importlib.reload() requires __loader__ to be defined'
updated_at = <Date 2013-10-25.17:53:56.109>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2013-10-25.17:53:56.109>
actor = 'brett.cannon'
assignee = 'docs@python'
closed = True
closed_date = <Date 2013-10-25.17:53:56.111>
closer = 'brett.cannon'
components = ['Documentation']
creation = <Date 2013-10-25.17:00:54.434>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 19392
keywords = []
message_count = 3.0
messages = ['201259', '201264', '201267']
nosy_count = 4.0
nosy_names = ['brett.cannon', 'docs@python', 'python-dev', 'eric.snow']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue19392'
versions = ['Python 3.3', 'Python 3.4']

@brettcannon
Copy link
Member Author

Make sure importlib.reload() (and by extension imp.reload()) mention that __loader__ must be defined as well as __name__.

@brettcannon brettcannon added the docs Documentation in the Doc dir label Oct 25, 2013
@python-dev
Copy link
Mannequin

python-dev mannequin commented Oct 25, 2013

New changeset f575f6298eb1 by Brett Cannon in branch '3.3':
Issue bpo-19392: Document that imp.reload() now relies on __loader__
http://hg.python.org/cpython/rev/f575f6298eb1

@brettcannon
Copy link
Member Author

importlib.reload() already states that the loader is reused, so this only required imp.reload() to be updated.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant