PEP0238 lament

Aahz Maruch aahz at
Sat Jul 28 02:39:48 CEST 2001

In article <e4O67.17873$EP6.4677310 at>,
Terry Reedy <tjreedy at> wrote:
>Moshe's current proposal cleanly separates the two types: '/' will be
>fractional result and '//' will be integer result (including
>floor(float/float)).  So 8/3 = 8.0/3.0 = 2.33333, while 8//3 = 2 and
>8.0//3.0 = 3.0, which is the same to within type, just as 3+8 ==
>(withing type) 3.0+8.0.  (I am not sure about complex//complex since I
>an not sure if floor(complex) is defined -- floor(x) + floor(y)*j?)
>This is arguably what Python should have started with.

Uh, I think you meant 2.666666667 and 2.0 up there.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista   

Fortune cookie: Watch your relations with other people carefully, be reserved.

More information about the Python-list mailing list