[Python-Dev] Re: Suggested memory API rules for 2.3

Neil Schemenauer nas@python.ca
Wed, 3 Apr 2002 14:48:53 -0800


Tim Peters wrote:
> That still needs to be done for PyObject_GC_xyz.  "Shall not mix", "shall
> hold the GIL", "guaranteed binary compatibility",

Yes.

> "shall not use in contexts requiring function designators" 

People need some form of GC free to initialize tp_free.  Extensions
can't really use _PyObject_GC_Del, can they?

  Neil