Stefan Behnel added the comment:

FWIW, functions in Cython (which C-level-inherit from PyCFunction) support weak 
references just fine. Adding that as a general feature to PyCFunction sounds 
like the right thing to do.

----------
nosy: +scoder

_______________________________________
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

Reply via email to