On Jul 14, 2:44 pm, Ken Seehart <k...@seehart.com> wrote: [snip] (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)). > > Thoughts?
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 too clever. 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. Carl Banks -- http://mail.python.org/mailman/listinfo/python-list