Hi there!

I built numpy-1.0b5 and pygtk with python2.5 on Sunday. It worked, but I
use numarray as standard numerix extension.
There was a bugfix for numpy-1.0b5 that is already contained in their
repository version.

Yours, Achim

Charlie Moad wrote:
> It builds now.  We still have to wait on a useable numpy for python2.5
> and pygtk for windows/py2.5.  All the other components are there or we
> can build.

diff -ru numpy-1.0b5/numpy/core/src/arrayobject.c 
numpy-1.0b5_fixed/numpy/core/src/arrayobject.c
--- numpy-1.0b5/numpy/core/src/arrayobject.c    2006-09-05 00:41:47.000000000 
+0200
+++ numpy-1.0b5_fixed/numpy/core/src/arrayobject.c      2006-09-17 
21:41:49.000000000 +0200
@@ -561,8 +561,8 @@
                 return ret;
         }
 #if (PY_VERSION_HEX >= 0x02050000)
-       if (PyIndex_Check(op)) {
-               long_value = (longlong) PyNumber_Index(op);
+       if (PyIndex_Check(o)) {
+               long_value = (longlong) PyNumber_Index(o);
                goto finish;
        }
 #endif
@@ -2691,7 +2691,7 @@
         }
 
         if (PyInt_Check(op) || PyArray_IsScalar(op, Integer) ||
-            PyLong_Check(op) || PyIndex_Check(index)) {
+            PyLong_Check(op) || PyIndex_Check(op)) {
                 intp value;
                 value = PyArray_PyIntAsIntp(op);
                 if (!PyErr_Occurred()) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to