Brett Cannon added the comment: Here is a patch that makes sure that if exec_module() is defined then so is create_module(). There really isn't any benefit in the code now, but starting in Python 3.6 we can make a very clear code path delineation between spec-based loading and old-fashioned load_module() instead of the current solution we have now where create_module() is used for either path and everything is intertwined.
---------- keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file37427/require_create_module.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23014> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com