[Numpy-discussion] C API

Charles R Harris charlesr.harris@gmail....
Thu May 22 18:22:07 CDT 2008


On Thu, May 22, 2008 at 3:55 PM, Charles R Harris <charlesr.harris@gmail.com>
wrote:

>
>
> On Thu, May 22, 2008 at 3:34 PM, Travis E. Oliphant <
> 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?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080522/591a6eed/attachment.html 


More information about the Numpy-discussion mailing list