[issue2377] Replace __import__ w/ importlib.__import__

Brett Cannon report at bugs.python.org
Sat Apr 7 19:43:09 CEST 2012

Brett Cannon <brett at python.org> added the comment:

On Fri, Apr 6, 2012 at 16:05, Antoine Pitrou <report at bugs.python.org> wrote:

> Antoine Pitrou <pitrou at free.fr> added the comment:
> > OK, -v/PYTHONVERBOSE is as done as it is going to be by me. Next up is
> > (attempting) Windows registry stuff. After that I will push to default
> > with test_trace and test_pydoc skipped so others can help me with
> > those.
> Skipped? How so?

By raising unittest.SkipTest.

I already know how to fix pydoc, but I need to get module names attached to
ImportError and I don't want to bother with that until importlib is in
(else it will be weird having it added into default but not in
Python/import.c). As for trace, I have not looked at it, but I know what
the failure is caused by and it's a question of how best to deal with it.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list