Python vs Ruby

Aahz Maruch aahz at panix.com
Mon Jan 29 14:13:36 EST 2001


In article <slrn97adcd.scu.r2d2 at mao.acc.umu.se>,
Niklas Frykholm <r2d2 at mao.acc.umu.se> wrote:
>
>AND I WISH THEY WOULD BOTH STOP DOING
>
>    - Automatic promotion of integers to floats...

Where does Python automatically change ints to floats (except in the
return value of an expression that *already* contains a float)?
-- 
                      --- Aahz (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I heard Commentary and Dissent had merged and formed Dysentary."



More information about the Python-list mailing list