Robert Collins added the comment:

I've done some experimentation. Yes, the updated test passes when the 
clear_frames call is removed in cPython 3.5

But the original test also passes when clear_frames is not called if one drops 
into pdb and steps through, which still fits the symptoms of having a loop.

The problem is then, that gc-only interpreters make no guarantees about 
lifetime of objects and this test needs a guarantee. As such I think 
conditional skipping is probably best.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22764>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to