classification
Title: Create importlib.util.set_attrs_post_import()
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: rejected
Dependencies: Superseder: Create importlib.abc.Loader.init_module_attrs()
View: 18088
Assigned To: brett.cannon Nosy List: brett.cannon
Priority: normal Keywords:

Created on 2013-05-28 22:46 by brett.cannon, last changed 2013-05-29 00:08 by brett.cannon. This issue is now closed.

Messages (1)
msg190254 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-05-28 22:46
There is no good reason to have set_loader and set_package separately. There should just be a single decorator which sets both of those attributes post-import (with the proper doc note saying use module_for_loader instead when possible to have the attributes set during execution).
History
Date User Action Args
2013-05-29 00:08:36brett.cannonsetstatus: open -> closed
superseder: Create importlib.abc.Loader.init_module_attrs()
resolution: rejected
2013-05-28 22:46:43brett.cannoncreate