commit | 02d845400275076ef5ba2791c74b7670ac21f8a9 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Fri Jan 09 11:39:21 2015 -0500 |
committer | Brett Cannon <brett@python.org> | Fri Jan 09 11:39:21 2015 -0500 |
tree | 36077086a1bd393ede07d99c61ed7137bd5bdcc3 | |
parent | 863c69cfebcafbf97ba401e0f3cd5cb077e0e8f2 [diff] |
Issue #23014: Make importlib.abc.Loader.create_module() required when importlib.abc.Loader.exec_module() is also defined. Before this change, create_module() was optional **and** could return None to trigger default semantics. This change now reduces the options for choosing default semantics to one and in the most backporting-friendly way (define create_module() to return None).