Python3k extended grammar

Ben Wolfson rumjuggler at cryptarchy.org
Sat May 20 14:14:11 EDT 2000


On Sat, 20 May 2000 18:55:19 +0300 (IDT), Moshe Zadka
<moshez at math.huji.ac.il> wrote:

>> 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
>
>Ummmm....
>
>1/2 == 0
>
>Seems sane to you?

Yes.  If I want .5, I'll write 1/2.0



More information about the Python-list mailing list