Bruno Desthuilliers wrote:

> Certainly not. Nested scopes allow closures, which allow decorators and
> lot of *very* useful things.

decorators can be trivially implemented as classes, of course.  it's a 
bit unfortunate that many people seem to think that decorators *have* to 
be implemented as nested functions, rather than arbitrary callables.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to