[issue20383] Add a keyword-only spec argument to types.ModuleType

Brett Cannon report at bugs.python.org
Fri May 30 20:57:20 CEST 2014


Brett Cannon added the comment:

After all the various revelations today about how much of a hassle and murky it would be to get types.ModuleType to do what we were after, I went ahead and kept importlib.util.module_from_spec(), but dropped the module argument bit. I also deconstructed _SpecMethods along the way while keeping the abstractions as Eric requested.

----------
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list