> One more thought: In Python 3000, the "buffer" interface is going to put a > standard on array objects for buffer interchange between any Python library: > > http://www.python.org/dev/peps/pep-3118/ > > Introducing a convenient syntax for C arrays (or our own, Invented Here, > garbage collected array type) would mean lots of code incompatible with this > API is written. (Which might be fine in most cases; but I'd rather not have > to _think_ too much when writing Cython code, ie "do I need this type of > array or this type", I'd rather just always use one array type that does it > all.)
I guess my view is that the buffer interface is not orthogonal to this type of thing - rather it will make it even easier to build things that could interoperate. Indeed one possible implementation strategy for these dynamic arrays would be to use buffers. _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev