Title: Create importlib.util.set_attrs_post_import()
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.4
Status: closed Resolution: rejected
Dependencies: Superseder: Create
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).
Date User Action Args
2013-05-29 00:08:36brett.cannonsetstatus: open -> closed
superseder: Create
resolution: rejected
2013-05-28 22:46:43brett.cannoncreate