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 Dennis Sweeney, Rotem Yaari, Yury.Selivanov, chris.jerdonek, georg.brandl, iritkatriel, larsonreever, ncoghlan, python-dev, serhiy.storchaka, terry.reedy, yselivanov
Date 2021-08-08.18:10:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628446235.08.0.721226085166.issue25782@roundup.psfhosted.org>
In-reply-to
Content
My argument is the loop creation should be prevented at first place. PyErr_SetObject() is not the only C code that can hang or overflow the stack when iterate a loop. Preventing creation of the loop will fix all other code that iterate the __context__ chain.
History
Date User Action Args
2021-08-08 18:10:35serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, terry.reedy, ncoghlan, chris.jerdonek, Yury.Selivanov, python-dev, yselivanov, Rotem Yaari, larsonreever, Dennis Sweeney, iritkatriel
2021-08-08 18:10:35serhiy.storchakasetmessageid: <1628446235.08.0.721226085166.issue25782@roundup.psfhosted.org>
2021-08-08 18:10:35serhiy.storchakalinkissue25782 messages
2021-08-08 18:10:35serhiy.storchakacreate