Irit Katriel <iritkatr...@yahoo.com> added the comment:

I agree with Chris that the issue of not hanging is independent of the question 
what to do about the cycle.  The ExitStack issue that brought this issue about 
is now fixed in ExitStack (see issue25786, issue27122).

If we take a step back from that, the situation is this: SetObject's cycle 
detection loop is intended to prevent the creation of new cycles when adding a 
new context link. It hangs when the exception chain has a pre-existing cycle.  
That pre-existing cycle is arguably a bug, and I'm not sure it's SetObject's 
job to do anything about it.

So I would suggest to:
(1) Make it not hang, ASAP because this is a bug in SetObject.
(2) Leave the cycle alone.

----------
nosy: +iritkatriel

_______________________________________
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

Reply via email to