On Wed, Oct 14, 2009 at 12:29 PM, Stefan Behnel <[email protected]> wrote:
>
> Lisandro Dalcin wrote:
>> On Wed, Oct 14, 2009 at 11:14 AM, Stefan Behnel wrote:
>>> Hi,
>>>
>>> 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.
>>>
>>
>> You said *should*, but I think we **must**... It seems that the legacy
>> PyCObject API  is ALREADy removed in Py3.2... Just svn update's py3k
>> trunk, and I cannot build mpi4py because of this...
>>
>> I'll not make any comments about that decision. Instead, I'll spend my
>> time porting Cython to use the new API.
>
> Thanks, Lisandro.
>
> I'll open a ticket on trac and assign it to you.
>

Fine...

BTW, I'm right now hacking on refnanny machinery... I think I'll use
PyLong_{From|As}VoidPtr for importing/exporting the API structure...
Making it simpler will make it also portable across all CPython
versions.

Additionally, I'll make a heavy renaming of some refnanny stuff,
things will be now named "__Pyx_RefNanny[XXX]".


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to