Mark Dickinson <[EMAIL PROTECTED]> added the comment: I agree that the second and fourth cases are bugs.
The second case looks like a Windows only problem: I get the expected OverflowError on both OS X 10.5.2/Intel and SuSE Linux 10.2/i686. The fourth case is cross-platform, and occurs also for large exponents: >>> ldexp(1.234, maxint+1) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: long int too large to convert to int It's still present in Python 3.0. I'll take a look. ---------- versions: +Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2487> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com