[issue14657] Avoid two importlib copies

Antoine Pitrou report at bugs.python.org
Tue Apr 24 22:39:09 CEST 2012


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

> That's an interesting idea. How do we currently tell that the
> interpreter is running in a checkout? Is that exposed in any way to
> Python code?

Look for _BUILDDIR_COOKIE in setup.py. But that's only for non-Windows
platforms (I don't think setup.py is invoked under Windows).

----------

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


More information about the Python-bugs-list mailing list