Antoine Pitrou wrote:
(of course complex schemes can be devised where the callee maintains its own separate storage for shape and strides, but I don't think we want to go there)
But that's exactly where you're supposed to be going. If the object providing the buffer has variable-sized shape and strides arrays, it has to manage the memory for them somehow. -- Greg _______________________________________________ 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