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.

Title: Create
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, python-dev
Priority: normal Keywords:

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. 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
Date User Action Args
2022-04-11 14:57:46adminsetgithub: 62288
2013-05-31 22:59:34brett.cannonsetstatus: open -> closed
resolution: fixed
stage: test needed -> resolved
2013-05-31 22:57:55python-devsetnosy: + python-dev
messages: + msg190423
2013-05-29 00:09:48brett.cannonlinkissue18089 dependencies
2013-05-29 00:08:36brett.cannonlinkissue18086 superseder
2013-05-29 00:08:15brett.cannoncreate