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 <rep...@bugs.python.org> <http://bugs.python.org/issue22116> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com