STINNER Victor <vstin...@python.org> added the comment:

> But I am worrying about func.func_closure.  Can it create cyclic reference in 
> real life applications?

remove.__closure__ is part of a reference cycle in bpo-38006.

I like func_clear() (which is still implemented in the master branch), but we 
need to understand why/how it was possible *crash Python* in bpo-38006.

----------

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

Reply via email to