On Apr 2, 11:04 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Wed, 02 Apr 2008 14:11:30 -0300, <[EMAIL PROTECTED]> escribió:
>
> > On Apr 1, 10:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
> >> En Tue, 01 Apr 2008 23:56:50 -0300, <[EMAIL PROTECTED]> escribió:
>
> >>    yield *iterable
>
> >> could be used as a shortcut for this:
>
> >>    for __temp in iterable: yield __temp
>
> > How serious were you about that?
>
> Not so much, I haven't thougth enough on it. Looks fine in principle, but  
> yield expressions may be a problem.
>
> --
> Gabriel Genellina

Funnily, there's a patch for py3k to make this work as in your idea.
It's currently being discussed on python-3000 :)

--
Arnaud

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to