Author serhiy.storchaka
Recipients brett.cannon, eric.snow, ncoghlan, pitrou, serhiy.storchaka
Date 2017-07-09.14:25:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499610308.15.0.80405356817.issue30876@psf.upfronthosting.co.za>
In-reply-to
Content
It is easy to replace the SystemError with a recursive import of the missing parent package. It is enough to remove raising the SystemError.

The other effect of this change is that relative import from the top-level module now raises ImportError "attempted relative import with no known parent package" instead of SystemError "Parent module '' not loaded, cannot perform relative import".
History
Date User Action Args
2017-07-09 14:25:08serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, pitrou, eric.snow
2017-07-09 14:25:08serhiy.storchakasetmessageid: <1499610308.15.0.80405356817.issue30876@psf.upfronthosting.co.za>
2017-07-09 14:25:08serhiy.storchakalinkissue30876 messages
2017-07-09 14:25:08serhiy.storchakacreate