[Matrix-SIG] Re: [PSA MEMBERS] RTLD_GLOBAL gone from 1.5.2; alternative?

David Ascher da@skivs.ski.org
Tue, 19 Jan 1999 14:42:31 -0800 (Pacific Standard Time)


> Yes and no.  IMO, any module that want's to export a C
> interface should do so explicitly using a Python CObject.
> This relies only on Python's import machinery and should 
> work on any system on which Python can do dynamic linking.
> 
> To see how this works, look at how cStringIO exports a 
> C API and how cPickle imports it.  
> 
> Maybe someone will volunteer to provide an exported 
> C interface for the array module.

I thought that was what the import_array function defined in
arrayobject.h did.

Zane, did you use import_array?

--david