Nat Pryce wrote: > >... > > I would much rather have the language require explicit conversions than be > doing "magic" behind my back. Although it's slightly less convenient when > writing new code, it's vastly more convenient when maintaining code because > more of the program's behaviour is documented in the source. So would you advocate "2.0/1" => exception? After all it is magically promoting the integer! In my mind this is a consistency issue. Either integers should be a subtype of floats or they should not be. If "/" is defined as a float division operator then the fact that both integers are promoted is not magic it is simply the way the language works. Just rename the "/" operator in your mind to "the floatdiv operator" and it won't seem magic. -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook