Interesting talk on Python vs. Ruby and how he would like Python to have just a bit more syntactic flexibility.

Jonathan Gardner jgardner at
Thu Feb 18 02:02:41 CET 2010

On Feb 17, 12:02 am, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message
> <8ca440b2-6094-4b35-80c5-81d000517... at>,
> Jonathan Gardner wrote:
> > I used to think anonymous functions (AKA blocks, etc...) would be a
> > nice feature for Python.
> > Then I looked at a stack trace from a different programming language
> > with lots of anonymous functions. (I believe it was perl.)
> Didn’t it have source line numbers in it?
> What more do you need?

I don't know, but I tend to find the name of the function I called to
be useful. It's much more memorable than line numbers, particularly
when line numbers keep changing.

I doubt it's just me, though.

More information about the Python-list mailing list