decorators - would be nice if...
pavlovevidence at gmail.com
Tue Jul 14 18:26:06 EDT 2009
On Jul 14, 2:44 pm, Ken Seehart <k... at seehart.com> wrote:
(e.g. there does not
> seem to be a good way to use multiple metaclasses in a class hierarchy,
> and more generally you can't stack them on top of each other (you can
> only have one metaclass per class)).
If "stacking" metaclasses (whatever that means) is a possible approach
to your problem, you might want to ask yourself if you're trying to be
Would you like to give us an example of a decorator you think would
benefit from having access to local namespace? We might be able to
suggest other possibilities.
More information about the Python-list