Python3k extended grammar

Emile van Sebille emile at fenx.com
Sat May 20 13:01:25 EDT 2000


Cool!

Does that mean I'll be able to use:

if not( x % y ):
    ... do stuff

or even:

while not ( x % y ):
    ...

<bg>

Emile van Sebille
emile at fenx.com
-------------------


----- Original Message -----
From: François Pinard <pinard at iro.umontreal.ca>
To: Thomas Malik <340083143317-0001 at t-online.de>
Cc: <python-list at python.org>
Sent: Saturday, May 20, 2000 9:59 AM
Subject: Re: Python3k extended grammar


> "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
>
>
>
> --
> http://www.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list