[issue15386] Still getting two copies of importlib._bootstrap
Nick Coghlan
report at bugs.python.org
Fri Jul 20 15:49:59 CEST 2012
Nick Coghlan <ncoghlan at gmail.com> added the comment:
That was a *lot* harder than I expected to create a test for - I had to import importlib right at the start of regrtest, as well as tweak the import order in runpy, and doing so actually caused test_import to *crash* completely without the bug fixed.
The trick was realising that *anything* importing imp before importlib would mask the bug.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15386>
_______________________________________
More information about the Python-bugs-list
mailing list