pylint #123259 Pylint emits E0105 for yield expressions inside lambdas [validation pending]

Since Python 2.5, this is valid code:

LAMBDA_WITH_YIELD = lambda: (yield)

However, pylint only accepts functions as frames for lambdas.

priorityminor
typebug
done in0.28.0
load left0.000
closed by#4c4a8edd9115 Lambdas can contain yields, do not warn about them.
patchLambdas can contain yields, do not warn about them. [applied]