[Numpy-discussion] python-numeric in FC4: good idea?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 26 02:20:09 CDT 2005


Chris Barker wrote:

> This is a Darn Good example of why we need the new array protocol.

I came across another one the other day when working on
pygui. I wanted to use glReadPixels to read data into a
buffer belonging to an NSBitmapImageRep, but PyOpenGL's
glReadPixels can only read data into an existing memory
block if it's a Numeric array, and PyObjC doesn't know
anything about Numeric...

Greg




More information about the Numpy-discussion mailing list