I'm building an application with cherrypy and have started using decorators quite extensively. A lot of my exposed functions look like:
@expose @startTransactrionAndBuildPage @partOfTabUi(tabId) @convert(arg1=int, arg2=str) def do_main_page(self, arg1, arg2): some code I've become really fond of decorators and use them quite a lot. I've also ready that function calls are expensive in python. In the above example, does the interpreter call 5 different functions? -- http://mail.python.org/mailman/listinfo/python-list