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

Importlib actually already can do this: importlib.test.regrtest. It runs 
regrtest after importlib has been set for __import__. It also skips tests known 
to fail for stupid reasons (typically they don't expect __loader__ to be 
defined). You can also run the importlib tests using __import__; importlib.test 
--builtin.

Anyway, seems like people are fine with option 3, and since that's the easiest 
that's what I will go with.

----------

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

Reply via email to