&#62; I wish Python just had some kind of anonymous function syntax that was more rich than lambdas<p>A lot of people keep saying this, including the article author, and I'm having trouble understanding why.  Lambdas are for "one-liners", functions are for more-liners.<p>Any time you want to write multiple lines in a lambda it's trivial to make it a named function.<p><pre><code>    def listSomeTable(name):
        print name.center(40, "=")
        def getWeirdNumberPair(cap):
            while True:
                a = random.randint(1, cap)
                b = random.randint(1, cap)
                if (a==1) and (b==1):
                    continue
                return (a, b)
        for i in xrange(20):
            print getWeirdNumberPair(i)
        print "="*40
</code></pre>
What do you want to use multiline-lambdas for that you can't do (equally simply and elegantly) with named functions?