[pypy-dev] Bad bug, exposed to Raymond :-()

Anders Chrigström ac at strakt.com
Fri Mar 10 10:31:08 CET 2006


Christian Tismer wrote:
> Hi friends,
> 
> it happened that I was sitting here with Raymond Hettinger,
> and we played a bit with a code example that Gromit posted on
> the PyPy IRC channel the other day.
> 
> The examples were
> 
> (1)   map(apply, [lambda: t for t in range(10)])
> (2)   map(apply, (lambda: t for t in range(10)))
> 
...
> 
> Looks like a double fault, right?

Indeed it was. Try again and it will work.

/Arre


More information about the pypy-dev mailing list