Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1ae28d2f
Commit
1ae28d2f
authored
Aug 05, 2015
by
Robert Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #20769: Improve reload() docs. Patch by Dorian Pula.
parent
2a8911c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
Doc/library/importlib.rst
Doc/library/importlib.rst
+5
-5
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/importlib.rst
View file @
1ae28d2f
...
@@ -166,11 +166,11 @@ Functions
...
@@ -166,11 +166,11 @@ Functions
except NameError:
except NameError:
cache = {}
cache = {}
It is
legal though generally not very useful to reload built-in or
It is
generally not very useful to reload built-in or dynamically loaded
dynamically loaded modules (this is not true for e.g. :mod:`sys`,
modules. Reloading :mod:`sys`, :mod:`__main__`, :mod:`builtins` and other
:mod:`__main__`, :mod:`builtins` and other key modules where reloading is
key modules is not recommended. In many cases extension modules are not
frowned upon). In many cases, however, extension modules are not designed to
designed to be initialized more than once, and may fail in arbitrary ways
be initialized more than once, and may fail in arbitrary ways
when reloaded.
when reloaded.
If a module imports objects from another module using :keyword:`from` ...
If a module imports objects from another module using :keyword:`from` ...
:keyword:`import` ..., calling :func:`reload` for the other module does not
:keyword:`import` ..., calling :func:`reload` for the other module does not
...
...
Misc/ACKS
View file @
1ae28d2f
...
@@ -1098,6 +1098,7 @@ Paul Prescod
...
@@ -1098,6 +1098,7 @@ Paul Prescod
Donovan Preston
Donovan Preston
Paul Price
Paul Price
Iuliia Proskurnia
Iuliia Proskurnia
Dorian Pula
Jyrki Pulliainen
Jyrki Pulliainen
Steve Purcell
Steve Purcell
Eduardo Pérez
Eduardo Pérez
...
...
Misc/NEWS
View file @
1ae28d2f
...
@@ -408,6 +408,8 @@ C API
...
@@ -408,6 +408,8 @@ C API
Documentation
Documentation
-------------
-------------
- Issue #20769: Improve reload() docs. Patch by Dorian Pula.
- Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
- Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
- Issue #24729: Correct IO tutorial to match implementation regarding
- Issue #24729: Correct IO tutorial to match implementation regarding
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment