On Mon, 19 Mar 2007 13:11:09 +0100, Bruno Desthuilliers wrote: > There's no "cast" in Python. It would make no sens in a dynamically > typed language, where type informations belong to the LHS of a binding, > not the RHS.
Surely you have left and right mixed up? x = 1 x = None x = "spam" x = [] The name x has no type associated with it. The object bound to the name does. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list