Created attachment 346932 [details] [diff] [review] Patch Apparently Python 2.5 doesn't guarantee uniform handling of NaN and Inf/-Inf conversions across all platforms (it depends on the underlying C library) so some versions fail with the existing script (in particular, the native Windows version from python.org was reported to be failing). Python 2.6 corrects this but we'd rather not require that version just yet. Attached patch uses a hacky but apparently-functional workaround... tested only on Mac and the abovementioned Windows version. (Not yet tested on cygwin, ActiveState, or Linux builds.)
Created attachment 346999 [details] [diff] [review] Patch #2 Further tweaks to account for more Windows weirdnesses.
Comment on attachment 346999 [details] [diff] [review] Patch #2 Check on windows cygwin and python.org. Looks like you have already tested the patch in the sandbox and looks good.
pushed to redux as changeset: 1076:5a6e728e05ee