Many thanks, Stefan. Now all is working for me with current cython-devel head.

On 7/19/08, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>  Lisandro Dalcin wrote:
>  > Now I've got another failure with my code.
>  >
>  > The following works ():
>  >
>  > def winsize(size):
>  >     try:
>  >         w, h = size
>  >     except TypeError:
>  >         w = size
>  >         h = size
>  >     return w, h
>  >
>  > But the following not:
>  >
>  > def winsize(size):
>  >     try:
>  >         w, h = size
>  >     except TypeError:
>  >         w = h = size
>  >     return w, h
>
>
> This should be fixed now.
>
>
>  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