[Cython] asking for advice on patch ticket #295 (compiler directive to control METH_O and METH_NOARGS flags)

Lisandro Dalcin dalcinl at gmail.com
Fri Apr 24 23:08:32 CEST 2009


On Fri, Apr 24, 2009 at 4:20 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> On Apr 24, 2009, at 8:33 AM, Lisandro Dalcin wrote:
>
>> I have a patch almost ready... but
>>
>> 1) Now that we have a proper compiler directive, should I remove the
>> global option in Options.py ??
>
> Yes, once the directive is implemented.
>
>> 2) Up to now, I'm named the directive "optimize_simple_methods" ...
>> but it is a bit longish, any better name? If not, should I use
>> "..._methods" in plural, or just "..._method" ?
>
> Maybe
>
> @cython.simple_calling(False)
> def foo():
>     ...

I like this, but not strongly... I would be fine with anything...

I would not bother too much, perhaps I would be the only one using this ;-)



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


More information about the Cython-dev mailing list