[Python-Dev] Re: tp_clear return value

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 11 Apr 2003 12:32:20 +1200 (NZST)

> If traverse worked this way, the traverse and clear slots and a part
> of the dealloc slot become almost identical. ... It would be cool if
> there were a way to automate some of the boilerplate.

There is... use Pyrex. :-)

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	   +--------------------------------------+