◐ Shell
clean mode source ↗

Message 168239 - Python tracker

Le mardi 14 août 2012 à 19:55 +0000, Robin Schreiber a écrit :
> As of now, I do not know of HeapTypes being excluded from refcounting.

No, but see http://bugs.python.org/issue15142
It's not obvious to me that the type should be explicitly decref'ed from the tp_dealloc function. This will make things more complicated for people willing to migrate their extensions to the stable ABI.

Also, all this is not documented at all :-(