[PYTHON MATRIX-SIG] New release of NumericPython 0.31
Robin Friedrich
friedric@rose.rsoc.rockwell.com
Mon, 29 Jan 1996 08:43:45 -0600
Having a few problems with the Numeric release.
I built 0.30 with tar xvfm as instructed. (I'm not using .31 yet but I don't
think it relates to this problem.)
>From the tutorial:
1) First problem is with the types.py file. For some reason when it's imported
vars(__builtins__) is an illegal argument while it works fine from the prompt.
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/local2/tools/lib/python/numeric/Numeric.py", line 9, in ?
import string, types, math
File "/local2/tools/lib/python/types.py", line 13, in ?
if vars(__builtins__).has_key('complex'):
TypeError: vars() argument must have __dict__ attribute
2) The following basic function is worrisome as well...
>>> m = Matrix([[1,2,3], [4,5,6], [7,8,9]])
>>> m*m
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/local2/tools/lib/python/numeric/Matrix.py", line 74, in __mul__
NameError: MathError
>>>
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================