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 iritkatriel
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:13:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628446435.08.0.4498715046.issue25782@roundup.psfhosted.org>
In-reply-to
Content
> My argument is the loop creation should be prevented at first place.

I agree, but avoiding the hang is higher priority.

> Preventing creation of the loop will fix all other code that iterate the __context__ chain.

There could still be a cycles involving both __context__ and __cause__ links. This is why the traceback code uses a visited set to detect cycles.
History
Date User Action Args
2021-08-08 18:13:55iritkatrielsetrecipients: + iritkatriel, georg.brandl, terry.reedy, ncoghlan, chris.jerdonek, Yury.Selivanov, python-dev, serhiy.storchaka, yselivanov, Rotem Yaari, larsonreever, Dennis Sweeney
2021-08-08 18:13:55iritkatrielsetmessageid: <1628446435.08.0.4498715046.issue25782@roundup.psfhosted.org>
2021-08-08 18:13:55iritkatriellinkissue25782 messages
2021-08-08 18:13:54iritkatrielcreate