Issue 26252: Add an example to importlib docs on setting up an importer (original) (raw)
Issue26252
Created on 2016-01-31 17:56 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg259295 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2016-01-31 17:56 |
This past week a lot of people have asked me about how to set up an importer. It's enough to warrant adding an example in the new Examples section of the importlib docs to explain how to do this using the pre-existing classes in importlib.machinery for illustrative purposes. | ||
msg261985 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2016-03-18 18:54 |
New changeset dc24ab548e2b by Brett Cannon in branch 'default': Issue #26252: Add an example on how to register a finder https://hg.python.org/cpython/rev/dc24ab548e2b | ||
msg261986 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2016-03-18 18:55 |
I added an example on how to register both a meta path and path entry finder. It's a rather simple example, but hopefully using the classes that importlib uses will help also point people towards the appropriate classes to learn about for their own needs. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:27 | admin | set | github: 70440 |
2016-03-18 18:55:46 | brett.cannon | set | status: open -> closedresolution: fixedmessages: + stage: needs patch -> resolved |
2016-03-18 18:54:29 | python-dev | set | nosy: + python-devmessages: + |
2016-02-27 10:35:39 | anish.shah | set | nosy: - anish.shah |
2016-02-04 11:27:34 | maciej.szulik | set | nosy: + maciej.szulik |
2016-02-04 07:38:09 | anish.shah | set | nosy: + anish.shah |
2016-02-03 20:39:54 | hodgestar | set | nosy: + hodgestar |
2016-02-01 17:23:20 | matejcik | set | nosy: + matejcik |
2016-02-01 01:17:53 | eric.fahlgren | set | nosy: + eric.fahlgren |
2016-01-31 20:42:29 | cvrebert | set | nosy: + cvrebert |
2016-01-31 20:37:47 | ethan.furman | set | nosy: + ethan.furman |
2016-01-31 18:00:42 | pitrou | set | nosy: + pitrou |
2016-01-31 17:57:08 | dstufft | set | nosy: + dstufft |
2016-01-31 17:56:13 | brett.cannon | create |