logilab-astng #123068 Yield expressions are not handled correctly [validation pending]

- is_generator returns True if function contains a lambda with a yield expression
- parentheses around yield expressions are not correctly recreated leading to syntax errors on code created with .as_string()

prioritynormal
typebug
done in0.24.3
load left0.000
closed by#99125c558945 Fix inference for generator methods to correctly handle yields in lambdas. Closes #123068
patchFix inference for generator methods to correctly handle yields in lambdas. [applied]