commit | c23b8a7af9b1548b645a79c5ea37a3ba780750ab | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Fri Mar 14 14:23:37 2008 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Fri Mar 14 14:23:37 2008 +0000 |
tree | 828190fa47a6d20587b59936afacba387755eaa2 | |
parent | 6119540d70ef1ad7ff6ad6940f185cc972164494 [diff] |
Issue 705836: Fix struct.pack(">f", 1e40) to behave consistently across platforms: it should now raise OverflowError on all platforms. (Previously it raised OverflowError only on non IEEE 754 platforms.) Also fix the (already existing) test for this behaviour so that it actually raises TestFailed instead of just referencing it.