PEP0238 lament

Erik Max Francis max at alcyone.com
Mon Jul 23 08:36:51 CEST 2001


Moshe Zadka wrote:

> It does? I fail to see why people assume that operations *have* to
> return
> the type of their operands.

It's not a requirement, but integer division is very frequently used. 
An operation that's closed on the types of its arguments is always easy
to understand, consistent with many other programming languages that do
such integer division, and is already the way things work.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There is nothing stronger in the world than gentleness.
\__/ Han Suyin
    Erik Max Francis' bookmarks / http://www.alcyone.com/max/links/
 A highly categorized list of Web links.



More information about the Python-list mailing list