[issue14657] Avoid two importlib copies

Antoine Pitrou report at bugs.python.org
Wed Apr 25 17:25:49 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Attached patch is an initial attempt (the reference counting on the
> two modules is likely still a bit dodgy - this is my first version
> that didn't segfault as I got used to the mechanics of dealing with a
> frozen module, so it errs on the side of leaking references)

But does it make debugging any easier? The IO streams are not yet
initialized at that point (neither are the codecs), so you are executing
_bootstrap.py from a very bare interpreter.

----------

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


More information about the Python-bugs-list mailing list