greg ewing lwbwyflqtcanterburyacnz raymond hettinger wrote lastname_firstname lambda r r0lower r5lower k g groupbyiterable keylastname_firstname transformation adds clarity going creating separate defstatement outside current function would move relevant code farther away impair readability doesnt outside function exactly place lambda assignment def lastname_firstnamer return r0lower r5lower k g groupbyiterable keylastname_firstname maybe def executable statement another thing people blind spot greg _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 223229 1200 pythondev pep 8 discourage named lambdas