Eric Wieser <wieser.eric+py...@gmail.com> added the comment:

Would it be possible for function self-reference cell vars to be weak 
references?

This wouldn't solve the issue for co-recursive inner functions, but would at 
least prevent reference cycles for the more common case of simple recursive 
functions.

----------
nosy: +Eric.Wieser

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

Reply via email to