Odd closure issue for generators
michele.simionato at gmail.com
Fri Jun 5 02:55:32 EDT 2009
On Jun 5, 6:49 am, a... at pythoncraft.com (Aahz) wrote:
> In article <05937a34-5490-4b31-9f07-a319b44dd... at r33g2000yqn.googlegroups.com>,
> Michele Simionato <michele.simion... at gmail.com> wrote:
> >Actually, in Scheme one would have to fight to define
> >a list comprehension (more in general loops) working as
> >in Python: the natural definition works as the OP wants. See
> >http://www.artima.com/weblogs/viewpost.jsp?thread=3D251156and the
> >comments below for the details.
> This URL isn't working for me, gives 500.
This happens sometimes with Artima. Usually it is just a matter of
waiting a few minutes.
More information about the Python-list