[MATRIX-SIG] UserArray.py problems

Bruce Duncan bsd@scripps.edu
Fri, 13 Mar 1998 01:23:37 -0800 (PST)


Greetings,

UserArray.py seems to have some problems:

1) The constructor tries to set a "name" attribute which fails if the
	input data is an array.

2) The __setitem__ method doesn't work if the item is NOT an array;
	in this case the asarray call seems to fail.

I've also seen some other strange failures.
UserArray would be a good class to have working correctly.
I find that the standard python classes UserDict and UserList help quite a bit.

Does anyone use this class?  How well does it work??

-bsd-

_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________