steven daprano gsdszpearwoodinfo sun 4 may 2008 012454 alex martelli wrote fri may 2 2008 1132 pm mike klaas wrote sorry bad example obviously silly return value function callable yet exactly keeps happening lambdahappy programmers production code well examples majorfamous projects eg simple google code search shows many zope versions containing bucketlambda instead obvious bucketdict fairness years ago bucketdict wouldnt worked im sure theres lot python programmers learnt language version 20 still blindspots comes types know im getting better practice besides would better written def bucket return think named lambda problem developer doesnt know use types problem discussing named lambdas risk dragging thread even longer heres one example would use one def parrotargs transformationnone transformation none use identity function transformation lambda x x arg args do_something_withtransformationarg anybody constructive comments make usage steven daprano _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 200157 1000 pythondev pep 8 discourage named lambdas