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.
Created on 2013年05月29日 00:08 by brett.cannon, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg190260 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年05月29日 00:08 | |
There are a bunch of attributes that need to be set on a module, and yet they are only handled by various decorators in importlib.util. The problem with that is there is no way in the API to override or expand upon setting those attributes pre-loading; only post-loading like what set_loader and set_package do. importlib.abc.Loader.init_module_attrs(module) would take a module and then using whatever methods are available, sets as many attributes as possible. This method can either be called before execution of the module's code or after some function is called that directly returns a loaded module (e.g. BuiltinImporter). |
|||
| msg190423 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年05月31日 22:57 | |
New changeset e873f2e67353 by Brett Cannon in branch 'default': Issues #18088, 18089: Introduce http://hg.python.org/cpython/rev/e873f2e67353 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:46 | admin | set | github: 62288 |
| 2013年05月31日 22:59:34 | brett.cannon | set | status: open -> closed resolution: fixed stage: test needed -> resolved |
| 2013年05月31日 22:57:55 | python-dev | set | nosy:
+ python-dev messages: + msg190423 |
| 2013年05月29日 00:09:48 | brett.cannon | link | issue18089 dependencies |
| 2013年05月29日 00:08:36 | brett.cannon | link | issue18086 superseder |
| 2013年05月29日 00:08:15 | brett.cannon | create | |