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-12.06:56:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When backported issue30876 to 3.5 I found that the lines

        elif not package:
            raise ImportError('attempted relative import with no known parent '

don't exist in 3.5. They where added in issue26367, but only in the 3.6 branch. The original example in issue26367 still returns a module with a wrong name in 3.5.

Why issue26367 changes were applied to 3.5 only partially? I afraid that the absence of this check may interfere with removing SystemError.
Date User Action Args
2017-07-12 06:56:24serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, pitrou, eric.snow
2017-07-12 06:56:24serhiy.storchakasetmessageid: <>
2017-07-12 06:56:24serhiy.storchakalinkissue30876 messages
2017-07-12 06:56:24serhiy.storchakacreate