[Numpy-discussion] "expected a single-segment buffer object"
Robert Kern
robert.kern at gmail.com
Thu Jul 10 20:08:41 EDT 2008
On Thu, Jul 10, 2008 at 10:33, Anne Archibald <peridot.faceted at gmail.com> wrote:
> 2008/7/9 Robert Kern <robert.kern at gmail.com>:
>
>> Because that's just what a buffer= argument *is*. It is not a place
>> for presenting the starting pointer to exotically-strided memory. Use
>> __array_interface__s to describe the full range of representable
>> memory. See below.
>
> Aha! Is this stuff documented somewhere?
_The Guide to Numpy_, section 3.1.4.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion
mailing list