This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, ncoghlan
Date 2012-07-18.13:27:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yup. A simpler demonstration:

Python 3.3.0b1 (default:8bf691d0b004+, Jul 15 2012, 23:20:06) 
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib import _bootstrap, machinery
>>> _bootstrap.FileFinder is machinery.FileFinder

My initial theory (a missing sys.modules entry) failed miserably, as import.__init__ already has the following line:

    sys.modules['importlib._bootstrap'] = _bootstrap

I'm guessing it has to be some weird interaction with the explicit relative import, but I would have expected that to pick up on either the parent module attribute or the sys.modules entry.
Date User Action Args
2012-07-18 13:27:01ncoghlansetrecipients: + ncoghlan, brett.cannon
2012-07-18 13:27:01ncoghlansetmessageid: <>
2012-07-18 13:27:00ncoghlanlinkissue15386 messages
2012-07-18 13:27:00ncoghlancreate