Performance impact of using decorators
Fredrik Lundh
fredrik at pythonware.com
Fri Mar 10 12:00:55 EST 2006
"vinjvinj" wrote:
> I was fearing that. The expose decorator is the only one that comes
> with cherrypy. The other ones are mine and are of the format:
>
> def decorator(func):
> def wrapper(self, *args, **kwargs)
> some code
> return wrapper
what exactly made you think that Python would be able to run your
code *without* calling your function ?
</F>
More information about the Python-list
mailing list