Greg Ewing wrote: > Nick Coghlan wrote: >> I'd say the answer to where we put it will be dependent on what happens to >> the >> idea of adding a NumArray style fixed dimension array type to the standard >> library. If that gets exposed through the array module as array.dimarray, >> then >> it would make sense to expose the associated data layout descriptors as >> array.datatype. > > Seem to me that arrays are a sub-concept of binary data, > not the other way around. So maybe both arrays and data > types should be in a module called 'binary' or some such.
Yes, very good point. That's probably one reason I'm proposing the data-type first before the array interface in the extended buffer protocol. -Travis _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com