Dag Sverre Seljebotn wrote:
> Stefan Behnel wrote:
>> it looks like Py3.1 has its own way of defining external C-APIs:
>>
>> http://docs.python.org/3.1/extending/extending.html#using-capsules
>>
>> I guess we should switch to that method for C code being compiled under
>> Py3.1+, so that Cython modules become compatible with other C extensions
>> that start using that mechanism.
> 
> Am I right in thinking that this is basically a standardization of what 
> we do with Cython's __pyx_capi? So we'd just have a 1:1 correspondance 
> with what we put in capsules and what we put in __pyx_capi?

Lisandros patch does that, yes. Except for the module name and the
signature. See my other post.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to