On Tuesday, February 4, 2014 3:20:06 AM UTC+5:30, Terry Reedy wrote: > name = lambda xxx is poor style because it produces a function object > lacking a proper name. Reusing the function name as a local is also > confusing. The above is equivalent to
> def m(k, n): return 1 if k & n else 0 Yeah... Well... Except that I'd put it the other way: the second -- shadowing names -- is MUCH worse than naked lambdas. Unless you're entering an obfuscated python contest :D -- https://mail.python.org/mailman/listinfo/python-list