"Bryan" wrote: >> and how do you make sure that everything subclasses this base class ? > > in this hypothetical case, i was assuming len() would be put in object and > every > class subclasses object implicitly or explicitly (ie, new style classes only). > if it was done that way, would len(obj) == obj.len() in all cases?
why should *everything* be forced to have a length ? </F> -- http://mail.python.org/mailman/listinfo/python-list