rationalising division (Was: Re: [Fwd: Comment on PEP-0238])

Aahz Maruch aahz at panix.com
Sun Jul 15 01:35:13 CEST 2001

In article <9ikrfh$f6k$1 at newsy.ifm.liu.se>,
Paul Svensson <paul at svensson.org> wrote:
>If there's anything we can do right now, it would be a very small
>first step.  Without causing any harm to existing code, we can add the
>possibility to generate warnings about int/int discarding non-zero
>fractions, and a "from __future__ import div" for a div operator doing
>he right thing.

That sounds like a good idea, particularly the warning part.
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

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

"How come we choose from just two people for President but more than 50
for Miss America?"  --AEN

More information about the Python-list mailing list