Brett Cannon <br...@python.org> added the comment:

Patch looks fine, although there aren't any tests. At least for importlib you 
can simply use a finder test for extension modules to verify the warning is 
triggered. That way you can create an empty module with the expected naming 
rather than worry about compiling an extension module.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14040>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to