Comment on PEP-0238

Emile van Sebille emile at fenx.com
Sat Jul 7 11:31:10 EDT 2001


"Guido van Rossum" <guido at python.org> wrote in message
news:cpelrskgrr.fsf at cj20424-a.reston1.va.home.com...
<snip>
>
> (Hm.  For various reasons I'm very tempted to introduce 'yield' as a
> new keyword without warnings or future statements in Python 2.2, so
> maybe I should bite the bullet and add 'div' as well...)
>


If you're going to add keywords, why not add precision and allow those who
want non-integer division to set it to the level of precision they require.
That breaks no more code (presumably) than adding div or yield does.

--

Emile van Sebille
emile at fenx.com

---------





More information about the Python-list mailing list