Randy Bush enlightened us with: > hold = self.next > self.next = DaClass(value) > self.next.next = hold
shouldn't that last line be this? self.next.prev = hold > but i suspect (from print statement insertions) that the result is > not as i expect. What did you expect, and what did you ovserve? Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list