bizarre Recursive/class interaction

Dave Lehman dlehman+USENET at redhat.com
Tue Mar 11 13:47:35 EST 2003


On Mon, 10 Mar 2003 22:28:10 +0000, Bob Roberts wrote:

> The following code gives me an assertion error from the line
> assert( not ret.data)
> which means that some how ret.data is getting set to something besides
> an empty list.  I don't see how this can happen since nothing is
> passed into the construction of ret and ret.data defaults to an empty
> list.
> 

this may help:

http://www.python.org/cgi-bin/faqw.py?req=show&file=faq06.025.htp

Dave





More information about the Python-list mailing list