[Python-3000] bug in modulus?
Guido van Rossum
guido at python.org
Thu May 4 21:39:49 CEST 2006
On 5/3/06, Tim Peters <tim.peters at gmail.com> wrote:
> I'd be happiest if P3K floats didn't support __mod__ or __divmod__ at
> all. Floating mod is so rare it doesn't need syntactic support, and
> the try-to-be-like-integer __mod__ and __divmod__ floats support now
> can deliver surprises to all users incautious enough to use them.
OK, this makes sense. I've added this to PEP 3100.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000