I just discovered (the hard way) that:
>>> import numpy
>>> a = numpy.empty((2, 3))
>>> a[:] = [1, 2]
>>> a
array([[1, 2, 1],
[2, 1, 2]])
This is with revision 1984. With Numeric I get "ValueError: matrices
are not aligned for copy", which I think is the correct answer.
Jens Jørgen