[Numpy-discussion] C API
Travis E. Oliphant
oliphant@enthought....
Thu May 22 19:36:57 CDT 2008
Charles R Harris wrote:
>
>
> On Thu, May 22, 2008 at 3:55 PM, Charles R Harris
> <charlesr.harris@gmail.com <mailto:charlesr.harris@gmail.com>> wrote:
>
>
>
> On Thu, May 22, 2008 at 3:34 PM, Travis E. Oliphant
> <oliphant@enthought.com <mailto:oliphant@enthought.com>> 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.
-Travis
More information about the Numpy-discussion
mailing list