[Numpy-discussion] ufunc.py

Colin J. Williams cjw at sympatico.ca
Sun Nov 2 12:26:14 CST 2003


Lines 976/7 are:

                if errorstatus:
                    handleError(errorstatus, sourcemsg)

sourcemsg is not known:

      File "C:\PROGRA~1\Python23\lib\site-packages\numarray\ufunc.py",
    line 906, in areduce
        return self._cum_swapped(in1, dim, out, "reduce")
      File "C:\PROGRA~1\Python23\lib\site-packages\numarray\ufunc.py",
    line 1042, in _cum_swapped
        _out1 = self._cum_cached(cumop, _in1, _out)
      File "C:\PROGRA~1\Python23\lib\site-packages\numarray\ufunc.py",
    line 937, in _cum_cached
        wout = self._cum_exec(*params)
      File "C:\PROGRA~1\Python23\lib\site-packages\numarray\ufunc.py",
    line 977, in _cum_exec
        handleError(errorstatus, sourcemsg)
    NameError: global name 'sourcemsg' is not defined

Colin W.





More information about the Numpy-discussion mailing list