[Python-Dev] Re: tp_clear return value

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 11 Apr 2003 15:04:35 +1200 (NZST)

> it would be quite surprising to see a tp_traverse function play with
> anything's refcount (their purpose is to pass an object's PyObject*
> pointers on to the callback argument, and that's all

A thought -- maybe tp_visit and tp_clear could be unified
by having a tp_visit that passed pointers to pointers to
objects to the callback?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+