ANN: Experimental Number Types (Integer, Rational, Floats)

Delaney, Timothy tdelaney at avaya.com
Mon Apr 23 20:39:04 EDT 2001


> 38/3   - not ambiguous, but falls into the problem of integer 
> truncation.
> Nevertheless, I would prefer this notation, and deprecate 
> integer division
> notation in favour of 'mod' (since this would be a major incompatible
> language change anyway, might as well make a new keyword at 
> the same time
> ;).

Of course, I meant 'div' and 'mod', not just mod ... ;)

Tim Delaney




More information about the Python-list mailing list