[Numpy-discussion] Object arrays for numarray / What do you use Numeric object arrays for?

Todd Miller jmiller at stsci.edu
Thu Jul 17 04:12:24 CDT 2003


On Thu, 2003-07-17 at 06:44, Dave Cole wrote:
> >>>>> "Todd" == Todd Miller <jmiller at stsci.edu> writes:
> 
> Todd> I don't understand the difference between your module and
> Todd> Python's mmap.
> 
> >> The code could use probably the Python mmap module.  It would be
> >> difficult because all access to the Python mmap object is via
> >> Python.
> >> 
> >> A CObject exported API in the Python mmap module would be very
> >> useful.
> >> 
> 
> Todd> What do you want to get via the CObject API?  Since any mmap can
> Todd> be treated as a buffer, it's easy to get a pointer and size via
> Todd> the Python buffer API in C. Is there something else you need?
> 
> Nope.  I wonder why I didn't realise that...  Too stupid I suppose.

I doubt that or you wouldn't be using Python...  The buffer API is just
a little obscure.

> 
> - Dave
-- 
Todd Miller <jmiller at stsci.edu>





More information about the Numpy-discussion mailing list