Antoine Pitrou added the comment:

I think Cython is wrong here. The only thing to do is to call 
PyObject_ClearWeakRefs() in the deallocator. Everything else is handled by the 
interpreter.

Agreed improving the documentation would be good.

----------
nosy: +pitrou, scoder
stage:  -> needs patch
type:  -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to