Jim Newton wrote: > wow that is great. > > now the other question: > > class Pair(list): > ... > > how can i "cast", "promote" [] to class Pair? You can't. -- __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/ / \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis \__/ Sometimes there's no point in giving up. -- Louis Wu