New submission from Antoine Pitrou:

Currently, it is not possible to take a weakref to a PyCFunction object. 
However, those objects already have full GC support, so it wouldn't be silly to 
add weakref support to them.

(this came in the context of numba, which generates such C functions on-the-fly)

----------
components: Interpreter Core
messages: 224432
nosy: pitrou
priority: normal
severity: normal
status: open
title: Weak reference support for C function objects
type: enhancement
versions: Python 3.5

_______________________________________
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