[Python-Dev] PEP: Adding data-type objects to Python

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Nov 3 02:04:13 CET 2006


Travis Oliphant wrote:
> or just
> 
> numpy.array(array.array('d',[1,2,3]))
> 
> and leave-out the buffer object all together.

I think the buffer object in his example was just a
placeholder for "some arbitrary object that supports
the buffer interface", not necessarily another NumPy
array.

--
Greg


More information about the Python-Dev mailing list