[issue23192] Generator return value ignored in lambda function

Guido van Rossum report at bugs.python.org
Thu Jan 8 16:56:52 CET 2015


Guido van Rossum added the comment:

Hm, looks like nobody bothered to update the lambda code generation to use the value from yield. I almost feel like there is some unnecessary check "if we are in a lambda" in the code generation for yield. Have you looked through the code generation yet?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23192>
_______________________________________


More information about the Python-bugs-list mailing list