Message2817
sourceforge kind of munged the diff I was trying to present to you, maybe this one will be easier to read:
z = Double.valueOf(string.substring(s, end)).doubleValue();
-if (z == Double.POSITIVE_INFINITY || x == Double.NEGATIVE_INFINITY) {
- throw Py.ValueError("double() out of range:" + string);
+if (z == Double.NEGATIVE_INFINITY || z == Double.POSITIVE_INFINITY) {
+ throw Py.ValueError("float() out of range: " + string);
}
Also this patch contains a tab character. Could you please disable tabs in your editor for all future patches? The codebase prefers spaces, thanks! |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:47 | admin | link | issue1779428 messages |
2008-02-20 17:18:47 | admin | create | |
|