Odd closure issue for generators
gagsl-py2 at yahoo.com.ar
Fri Jun 5 11:26:11 CEST 2009
En Fri, 05 Jun 2009 01:49:15 -0300, Aahz <aahz at pythoncraft.com> escribió:
> In article
> <05937a34-5490-4b31-9f07-a319b44ddb09 at r33g2000yqn.googlegroups.com>,
> Michele Simionato <michele.simionato 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=3D251156 >
> This URL isn't working for me, gives 500.
Mmm, the URL ends with: thread, an equals sign, and the number 251156
If you see =3D -- that's the "=" encoded as quoted-printable...
More information about the Python-list