[issue22116] Weak reference support for C function objects

Stefan Behnel report at bugs.python.org
Sat Aug 2 15:19:48 CEST 2014


Stefan Behnel added the comment:

Patch looks ok. Not sure about the test dependency from test_weakref.py to _testcapi, though. Is that module allowed to be used everywhere? Wouldn't it be enough to test that one of the builtin functions is now weak referencible? "len" seems to be used in other places, for example.

----------

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


More information about the Python-bugs-list mailing list