Author ncoghlan
Recipients barry, brett.cannon, eric.snow, inada.naoki, isoschiz, kristjan.jonsson, ncoghlan, pconnell, pje
Date 2013-04-14.07:51:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365925912.95.0.799491999036.issue17636@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for working through that Phillip - falling back to sys.modules when the expected attribute was missing is actually something I suggested as a possibility years ago, and Guido's response at the time was "If it was that easy, someone would have done it already".

Your analysis is one of the pieces that was missing, along with Brett's insight that the code that needs the fallback is the IMPORT_FROM bytecode rather than the import implementation.

I'm going to close the original circular import bug as being superseded by this one.
History
Date User Action Args
2013-04-14 07:51:53ncoghlansetrecipients: + ncoghlan, barry, brett.cannon, pje, kristjan.jonsson, inada.naoki, eric.snow, pconnell, isoschiz
2013-04-14 07:51:52ncoghlansetmessageid: <1365925912.95.0.799491999036.issue17636@psf.upfronthosting.co.za>
2013-04-14 07:51:52ncoghlanlinkissue17636 messages
2013-04-14 07:51:52ncoghlancreate