terry reedy twhvuyludeledu people write somename lambda args expression instead obvious people dare say standard def somenameargs return expression 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 httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 045823 0400 pythondev pep 8 discourage named lambdas