[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on difference between LambdaType and FunctionType

Ian Kelly <ian.g.kelly at gmail.com> wrote:
> What about:
>     __init__ = lambda self: setattr(self, 'foo', 'bar')

That's an edge-case alright. Fortunately, I've decided to not skip
lambdas. That's too problematic, it's easier to parse them as a
special-case. Thanks for pointing this out.

Iwo Herka