Question for you: what do you think that "class K(object,list):" means?? What are you trying to achieve? What do you plan to do with K? If you want it to be a subclass of list, all you have to do is "class K(list):".
-- http://mail.python.org/mailman/listinfo/python-list