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, serhiy.storchaka
Date 2017-07-08.06:28:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499495296.76.0.63693011997.issue30876@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know other way to provoke SystemError by Python code. Always if SystemError was leaked this considered a bug and was fixed.

When unload package you need to remove its name and names of its submodules from sys.modules. This is a common case. If the submodule is imported at the same time in other thread you can get SystemError (randomly, with very small probability). I think that if the error can't be avoided, SystemError is a wrong exception for this case.
History
Date User Action Args
2017-07-08 06:28:16serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow
2017-07-08 06:28:16serhiy.storchakasetmessageid: <1499495296.76.0.63693011997.issue30876@psf.upfronthosting.co.za>
2017-07-08 06:28:16serhiy.storchakalinkissue30876 messages
2017-07-08 06:28:16serhiy.storchakacreate