PEP 238 (revised)

Terry Reedy tjreedy at home.com
Fri Jul 27 06:37:39 CEST 2001


"David Bolen" <db3l at fitlinxx.com> wrote in message
news:upuanumtb.fsf at ctwd0143.fitlinxx.com...

> Is the polymorphic argument really true here?

I think so, even though Guido made it look asymetric in the first
paragraph.  I can easily imagine that I would want a formula like
(n-1)//k to give the same numerical value regardless of whether n
enters as 20 or 20.0 -- the same as (n-1)*k does.  Why should one work
polymorphically and the other not?

Terry J. Reedy






More information about the Python-list mailing list