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 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 <>
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".
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: <>
2017-07-09 14:25:08serhiy.storchakalinkissue30876 messages
2017-07-09 14:25:08serhiy.storchakacreate