On Mon, Sep 8, 2008 at 1:46 PM, Robert Bradshaw
<[EMAIL PROTECTED]> wrote:
>> Additionally, for 'def' functions, I have no idea how to provide a
>> good 'return-type'.
>
> Not sure I'm understanding your question... for def functions the
> return type is always object, which is implied (i.e. one doesn't have
> to explicitly write "object").

Well, I believe saying a function returns 'object' is equivalent to
say nothing :-). Perhaps this should wait until functions annotations
are supported.

>> We should handle default aguments; I'm currently using
>> 'arg.default.compile_time_value(None)' (I'm passing 'None' to the call
>> because not sure at this point what to pass).  If this fails, I just
>> use '<???>'.
>
> That sounds like a good first pass to me. I think a context object
> goes here, right?

Yes, but I'm not sure where to get it.  Dag, please help me!!



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