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, serhiy.storchaka
Date 2017-07-08.06:19:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499494770.07.0.336986777327.issue30876@psf.upfronthosting.co.za>
In-reply-to
Content
To summarise what the attached source archive is doing, module1.py is essentially:

    import sys
    del sys.modules(__package__)
    from . import module2

So the only way to trigger this is by corrupting the import state, which seems like an appropriate use of SystemError to me.
History
Date User Action Args
2017-07-08 06:19:30ncoghlansetrecipients: + ncoghlan, brett.cannon, eric.snow, serhiy.storchaka
2017-07-08 06:19:30ncoghlansetmessageid: <1499494770.07.0.336986777327.issue30876@psf.upfronthosting.co.za>
2017-07-08 06:19:30ncoghlanlinkissue30876 messages
2017-07-08 06:19:29ncoghlancreate