michael foord bpwwnotcvoidspaceorguk terry reedy wrote people write somename lambda args expression instead obvious people dare say standard def somenameargs return expression visually find second form ugly colon indicates new line expected breaking expectation breaks flow code reading rarely use lambdas form show prefer single line function michael foord difference result one know code function objects get generic name instead informative repr output tracebacks somename consider disadvantage absence compensating advantages trivial saving 3 chars consider def form proper python style point think least recommended stdlib programming recommendations section pep 8 currently uses named lambdas least urllib2 bad example new python programmers style mavens think terry jan reedy _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevfuzzyman40voidspaceorguk _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 001614 0100 pythondev pep 8 discourage named lambdas