This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, eric.snow, ncoghlan
Date 2014-12-08.16:18:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I continue to be bothered by how we designed I don't like that it's optional and I don't like that it can return None.

I would much rather make it so that was a static method that does what importlib.util.module_from_spec() does. I would also like importlib to throw a fit if exec_module() was defined on a loader but not create_module() with a DeprecationWarning to start and then an AttributeError later (as I said, this requires exec_module() defined and does not play into the whole load_module() discussion). This should also hopefully promote people subclassing more as well.

What do other people think?
Date User Action Args
2014-12-08 16:18:58brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow
2014-12-08 16:18:58brett.cannonsetmessageid: <>
2014-12-08 16:18:58brett.cannonlinkissue23014 messages
2014-12-08 16:18:58brett.cannoncreate