Brett Cannon added the comment:
Thanks for the review, Berker! I managed to figure out how to get the Examples
links to work so that made it into the final version.
--
status: open -> closed
___
Python tracker
Roundup Robot added the comment:
New changeset d733b6275e17 by Brett Cannon in branch 'default':
Issue #25802: Add an examples section to importlib.
https://hg.python.org/cpython/rev/d733b6275e17
--
___
Python tracker
Roundup Robot added the comment:
New changeset ab0e60a36368 by Brett Cannon in branch 'default':
Issue #25802: Deprecate load_module() on importlib.machinery.SourceFileLoader
and SourcelessFileLoader.
https://hg.python.org/cpython/rev/ab0e60a36368
--
nosy: +python-dev
Brett Cannon added the comment:
I'm leaving this issue open until I add an Examples section to the importlib
docs. I will use the imp module as a guide of what to document.
--
resolution: -> fixed
stage: test needed -> resolved
___
Python tracker
New submission from Brett Cannon:
There are a couple concrete implementations of load_module() in importlib that
have not been explicitly deprecated that probably should be. As part of this I
will finally add an Examples section to the importlib docs to show how to do
common tasks such as