[issue25782] CPython hangs on error __context__ set to the error itself
Yury Selivanov
report at bugs.python.org
Wed Dec 2 14:12:13 EST 2015
Yury Selivanov added the comment:
> Yury, do we need to handle more complicated infinite loops, where "self" doesn't actually show up in the loop? Here's an example:
My patch works for your example too. Since it checks for loops in __context__ setter, you shouldn't be able to create complicated loops.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25782>
_______________________________________
More information about the Python-bugs-list
mailing list