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
> 
> 
> So it seems there is a problem with a parallel assignement appearing
> in the body of an 'except' clause.

Not only there. Parallel assignments seem to be pretty much broken currently.
I'm working on it.

Try revision 771 if you need something working now.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to