Index: abstract.c =================================================================== RCS file: /projects/cvsroot/python/dist/src/Objects/abstract.c,v retrieving revision 2.14 diff -c -r2.14 abstract.c *** old/Objects/abstract.c 1997/05/20 22:09:08 2.14 --- Objects/abstract.c 1998/04/03 23:36:10 *************** *** 463,469 **** "pow() requires numeric arguments"); return NULL; } ! if (PyFloat_Check(w) && PyFloat_AsDouble(v) < 0.0) { if (!PyErr_Occurred()) PyErr_SetString(PyExc_ValueError, "negative number to float power"); --- 463,470 ---- "pow() requires numeric arguments"); return NULL; } ! if (PyFloat_Check(v) && PyFloat_Check(w) && ! PyFloat_AsDouble(v) < 0.0) { if (!PyErr_Occurred()) PyErr_SetString(PyExc_ValueError, "negative number to float power");