Talin wrote: > In other words, the > __metaclass__ statement would have a side-effect of replacing the > locals() dict with a mapping object supplied by the metaclass.
__metaclass__ isn't a statement, it's just an attribute that is interpreted in a special way *after* the class namespace has been populated, by which time it's too late to do what you suggest. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
