[Numpy-discussion] C API
Charles R Harris
Thu May 22 20:45:30 CDT 2008
On Thu, May 22, 2008 at 6:36 PM, Travis E. Oliphant <firstname.lastname@example.org>
> Charles R Harris wrote:
> > On Thu, May 22, 2008 at 3:55 PM, Charles R Harris
> > <email@example.com <mailto:firstname.lastname@example.org>> wrote:
> > On Thu, May 22, 2008 at 3:34 PM, Travis E. Oliphant
> > <email@example.com <mailto:firstname.lastname@example.org>> wrote:
> > Charles R Harris wrote:
> > > All,
> > >
> > > I added a function to array_api_order.txt and apparently
> > this changed
> > > the order of the pointers in the API, which caused ctypes to
> > segfault
> > > until I removed the build directory and did a complete
> > rebuild. It
> > > seems to me that if we really want to make adding these API
> > functions
> > > safe, then we should only have one list instead of the
> > current two.
> > > This looks to require some mods to the build system. What do
> > folks think?
> > Yes, or a simple solution is to only append to one of the
> > lists. At
> > the very least, we should mark the array_api_order as not
> > appendable.
> > That doesn't work unless I change the tag from OBJECT_API to
> > MULTIARRAY_API. Do these tags really matter? Maybe we should just
> > replace them with API and merge this lists. At the beginning of
> > 1.2, of course.
> > This doesn't look to hard to do. How about a unified NUMPY_API list?
> That's fine with me. I can't remember why there were 2 separate lists.
OK. Another question, why do __ufunc_api.h and __multiarray_api.h have
double underscores prefixes?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion