[Cython] problems with current cython-devel repo

Stefan Behnel stefan_ml at behnel.de
Sat Jul 19 10:58:35 CEST 2008


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


More information about the Cython-dev mailing list