Eric Snow added the comment: Here's an initial patch. Some key things left to do:
* unit tests * documentation * implement exec_module() for the various importlib loaders. Once that's squared away there are further things that will be addressed in new tickets (or at least separate patches). This includes: * remove init_module_attrs() and module_to_load() * deprecations * clear a bunch of helper functions out of _bootstrap.py * use ModuleSpec with __main__ * address impact on stdlib (pkgutil, pickle, etc.) ---------- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file31959/modulespec-initial.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com