> Removing __metaclass__ in Python 3000
> -------------------------------------
> 
> As a side-effect of its generality, the make-statement mostly
> eliminates the need for the ``__metaclass__`` attribute in class
> objects.  Thus in Python 3000, instead of::
(...)

One of the reasons that this PEP was born is because metaclasses
are being used in ways that don't look natural to some, like
generating interface instances out of a class statement, so this
would add an interesting way to support these constructs.

That doesn't look like a good reason, though, to kill the metaclass
support that Python took so long to maturate. Otherwise, a new
optional extension could be included as well: "Removing the 'class'
statement".

-- 
Gustavo Niemeyer
http://niemeyer.net
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to