April 11, 2003
3:04 a.m.
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 +--------------------------------------+