On Thu, 09 Mar 2006 13:44:25 +0100, bruno at modulix wrote: > Steven D'Aprano wrote: > (snip) > >> I say "think you want" because I don't know what problem you are trying to >> solve with this messy, self-referential, piece of code. > > This messy piece of code is mine, thanks !-)
You're welcome :-) > And it's not "self-referential" - it introduces a references cycle > (class object -> instances -> class object), which may or may not be a > problem. Every instance knows about a list of every other instance, including itself. That makes it self-referential in my book. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list