Python3k extended grammar

François Pinard pinard at iro.umontreal.ca
Sat May 20 12:59:37 EDT 2000


"Thomas Malik" <340083143317-0001 at t-online.de> writes:

> 2. promoting integer divisions to float sounds quite stupid to me:
> (x/y) * y + x % y == x should always hold true in any sane language

No problem.  For consistency, x % y will invariably yield 0 :-).

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard






More information about the Python-list mailing list