[issue18086] Create importlib.util.set_attrs_post_import()

Brett Cannon report at bugs.python.org
Wed May 29 00:46:43 CEST 2013


New submission from Brett Cannon:

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).

----------
assignee: brett.cannon
components: Library (Lib)
messages: 190254
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: Create importlib.util.set_attrs_post_import()
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18086>
_______________________________________


More information about the Python-bugs-list mailing list