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, collinwinter, facundobatista, mark.dickinson, richardh2003, tim.peters
Date 2008-03-08.18:13:52
SpamBayes Score 0.012701073
Marked as misclassified No
Message-id <1205000036.32.0.439353750597.issue705836@psf.upfronthosting.co.za>
In-reply-to
Content
Coming back to this, I think that it actually *is* clear what
struct(">f", large_float) should do:  it should raise OverflowError.
This fits in well with the general philosophy that Python (at least
tries to) follow for floating-point exceptions.

The attached patch (705836_v2.patch) fixes this.  All tests pass with 
this patch applied.

I'll leave this around for a few days in case anyone wants to comment on 
it;  then I plan to apply it to the trunk.
History
Date User Action Args
2008-03-08 18:13:56mark.dickinsonsetspambayes_score: 0.0127011 -> 0.012701073
recipients: + mark.dickinson, tim.peters, collinwinter, facundobatista, richardh2003, christian.heimes
2008-03-08 18:13:56mark.dickinsonsetspambayes_score: 0.0127011 -> 0.0127011
messageid: <1205000036.32.0.439353750597.issue705836@psf.upfronthosting.co.za>
2008-03-08 18:13:55mark.dickinsonlinkissue705836 messages
2008-03-08 18:13:54mark.dickinsoncreate