SF bug 705231: Assertion failed, python aborts.
float_pow(): Don't let the platform pow() raise -1.0 to an integer power
anymore; at least glibc gets it wrong in some cases. Note that
math.pow() will continue to deliver wrong (but platform-native) results
in such cases.
diff --git a/Misc/NEWS b/Misc/NEWS
index b7b444a..a63f022 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@
Core and builtins
-----------------
+- SF bug 705231: builtin pow() no longer lets the platform C pow()
+ raise -1.0 to integer powers, because (at least) glibc gets it wrong
+ in some cases. The result should be -1.0 if the power is odd and 1.0
+ if the power is even, and any float with a sufficiently large exponent
+ is (mathematically) an exact even integer.
+
- The encoding attribute has been added for file objects, and set to
the terminal encoding on Unix and Windows.