[issue22116] Weak reference support for C function objects

Antoine Pitrou report at bugs.python.org
Sun Aug 3 16:57:44 CEST 2014


Antoine Pitrou added the comment:

> Wouldn't it be enough to test that one of the builtin functions is now weak referencible?

It's better to check that the weakref gets cleared when the object dies, and for that you need an object you can dispose of.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22116>
_______________________________________


More information about the Python-bugs-list mailing list