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, eric.snow, ncoghlan, pitrou, serhiy.storchaka
Date 2017-07-09.06:32:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499581935.91.0.679153352876.issue30876@psf.upfronthosting.co.za>
In-reply-to
Content
OK, so at least for 3.7, we'll replace the SystemError with a recursive import of the missing parent package, just as we'd expect to see with an absolute import.

I'm classing this as "Won't fix" for the native import system in 2.7 - folks wanting the fix there will need to switch to using importlib2 (assuming that gets updated to include the fix at some point).

That leaves 3.5 and 3.6, and I'd suggest we defer making a decision about whether or not to backport the fix to the maintenance branches until after we see how complex the patch for 3.7 ends up being.
History
Date User Action Args
2017-07-09 06:32:16ncoghlansetrecipients: + ncoghlan, brett.cannon, pitrou, eric.snow, serhiy.storchaka
2017-07-09 06:32:15ncoghlansetmessageid: <1499581935.91.0.679153352876.issue30876@psf.upfronthosting.co.za>
2017-07-09 06:32:15ncoghlanlinkissue30876 messages
2017-07-09 06:32:15ncoghlancreate