Stefan, if you do not have strong objections, then I would like to
push the following changes:

1) Change the macros to true functions. We already need to emit
functions, so a few more will not harm. I really hate to patching
C-API's with function-like macros. Declaring pointers to functions is
not usual, but IMHO it is a very valid user case. Note that I'm
talking about users that for some rare reason want to access the
PySet_XXX API's directly in Cython codes (or perhaps in a header file
which is 'cdef extern from ..,' included).

2) Add type checking to function arguments, following the actual
implementations in Python 2.5. Again, that would be a bit pointless
for Cython usage of PySet API, but I'm still tinking about direct
calls to those API's.




On Sat, Oct 25, 2008 at 4:51 PM, Stefan Behnel <[EMAIL PROTECTED]> wrote:
>
> Stefan Behnel wrote:
>> I'm only -0.5 for the macro version anyway
>
> I (obviously) meant +0.5 ...
>
> Stefan
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
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