This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients christian.heimes, fredrikj, mark.dickinson
Date 2008-03-26.01:12:36
SpamBayes Score 0.06576246
Marked as misclassified No
Message-id <1206493959.08.0.688723018586.issue2487@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-03-26 01:12:39mark.dickinsonsetspambayes_score: 0.0657625 -> 0.06576246
recipients: + mark.dickinson, christian.heimes, fredrikj
2008-03-26 01:12:39mark.dickinsonsetspambayes_score: 0.0657625 -> 0.0657625
messageid: <1206493959.08.0.688723018586.issue2487@psf.upfronthosting.co.za>
2008-03-26 01:12:37mark.dickinsonlinkissue2487 messages
2008-03-26 01:12:36mark.dickinsoncreate