[Python-Dev] reference leaks, __del__, and annotations

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 5 02:17:59 CEST 2006


Martin v. Löwis wrote:

> Of this kind, we have several spare bits: there are atleast two bits
> in the ob_type field,

And that would require changing all code that dereferenced
the ob_type field! This would be much worse -- at least
Py_INCREF and Py_DECREF are macros...

--
Greg


More information about the Python-Dev mailing list