Message78373
On Sat, Dec 27, 2008 at 11:41 AM, Georg Brandl <report@bugs.python.org> wrote:
>
> Georg Brandl <georg@python.org> added the comment:
>
> I didn't find it, but someone from the German Python webforum. :)
>
> Hmm, I wonder why lambda: (yield 1) alone doesn't give [1, None]. (That
> should also go into the test case.)
Actually, I don't think the return value should even make it's way to
the list. Generator lambdas shouldn't have any return value IMO.
>
> Anyway, perhaps yield in lambdas should be forbidden.
Probably too late now for 2.x and 3.x. |
|
Date |
User |
Action |
Args |
2008-12-27 18:07:41 | benjamin.peterson | set | recipients:
+ benjamin.peterson, georg.brandl |
2008-12-27 18:07:40 | benjamin.peterson | link | issue4748 messages |
2008-12-27 18:07:40 | benjamin.peterson | create | |
|