[issue26186] LazyLoader rejecting use of SourceFileLoader

Brett Cannon report at bugs.python.org
Sat Jan 23 14:38:47 EST 2016


Brett Cannon added the comment:

One way to possibly improve this is to remove the create_module() check and replace it with a warning if create_module() doesn't return None. Another option is to use an assert statement. The final option is to just drop the check entirely, although that can make debugging difficult.

----------

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


More information about the Python-bugs-list mailing list