dmitrey wrote: > is it possible to overload operator "< <"? (And other like this one, > eg "<= <=", "> >", ">= >=")
No. a < x < b is a shortcut for a < x and x < b where x is of course evaluated only once. Peter -- http://mail.python.org/mailman/listinfo/python-list