[Scipy-svn] r5528 - trunk/scipy/special

scipy-svn@scip... scipy-svn@scip...
Fri Jan 30 19:05:52 CST 2009


Author: ptvirtan
Date: 2009-01-30 19:05:19 -0600 (Fri, 30 Jan 2009)
New Revision: 5528

Modified:
   trunk/scipy/special/_cephesmodule.c
Log:
Use PyErr_Warn instead of PyErr_WarnEx (which is not available in Python 2.4)

Modified: trunk/scipy/special/_cephesmodule.c
===================================================================
--- trunk/scipy/special/_cephesmodule.c	2009-01-30 19:37:11 UTC (rev 5527)
+++ trunk/scipy/special/_cephesmodule.c	2009-01-31 01:05:19 UTC (rev 5528)
@@ -1054,7 +1054,7 @@
     va_end(ap);
 
     NPY_ALLOW_C_API
-    PyErr_WarnEx(scipy_special_SpecialFunctionWarning, msg, 1);
+    PyErr_Warn(scipy_special_SpecialFunctionWarning, msg);
     NPY_DISABLE_C_API
 }
 



More information about the Scipy-svn mailing list