On 11 March 2010 11:50, Stefan Behnel <[email protected]> wrote:
> Lisandro Dalcin, 11.03.2010 15:40:
>> On 11 March 2010 04:18, Stefan Behnel wrote:
>>>      "ATTRNAME : CTYPE [ = DEFAULT]"
>>
>> PS: Are you aware that default values does not apply here? Cython does
>> not support default values for cdef members... I cannot remember if it
>> was decided that this support should be in (after all, it is sugar for
>> saving lines in __cinit__).
>
> I know that they are not currently supported, but if we think about an
> automatically generated docstring here, we should try to catch all cases
> before hand, especially the IMHO not so uninteresting one of documenting a
> default value. If we ever decide to support that feature, the generated
> docstring would make it more than just syntactic sugar.
>
> Stefan
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>

http://hg.cython.org/cython-devel/rev/1a2e04bc1395

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