Irit Katriel <iritkatr...@gmail.com> added the comment:
> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue25782> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com