Zitat von Tim Peters <[EMAIL PROTECTED]>:

> Huh.  It's been a (mildly controversial, but intentional all the same)
> feature that Python tries to raise raise OverflowError on overflowing
> libm operations.  Doesn't work all that well, since   there's no
> consistency across platforms about when libm sets errno, or to what
> (when it does).

The other question is whether pow() is guaranteed to return inf
when it sets errno to ERANGE; I believe there is no such guarantee.

So I think the change should be reverted.

Regards,
Martin



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to