merits of Lisp vs Python

Paul Rubin http
Sun Dec 10 04:35:34 EST 2006


"Wolfram Fenske" <int2k at gmx.net> writes:
> Yes, I wrote about it in another post.  It was introduced in Python
> 2.5. And if it hadn't been I'd still have to write code like this.

You could do something with decorators that's not too bad.  You'd end
up writing:

   @withConnection
   def some_func():
      do_whatever_stuff ()



More information about the Python-list mailing list