[Python-Dev] Tricky way of of creating a generator via a comprehension expression

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 23 16:56:58 EST 2017


Paul Moore wrote:
> has anyone confirmed
> why a function scope was considered necessary at the time of the
> original implementation, but it's apparently not now?

At the time I got the impression that nobody wanted to
spend the time necessary to design and implement a subscope
mechanism. What's changed is that we now have someone
offering to do that.

-- 
Greg


More information about the Python-Dev mailing list