> At 08:53 AM 12/8/2006 -0600, Guido van Rossum wrote:
>
>>I've been thinking about this too, and I think it's reasonable to let
>>the metaclass provide the dict to be used as locals.
>
> [snip]
>
>>class C(B1, B2, metaclass=Foo):
If there's to be a special syntax for this, I don't
think it should have the word "metaclass" in it --
it's too verbose and too jargony.
How about
class C(B1, B2) is M:
...
This is concise, keeps the metaclass clearly
separated from the list of bases, and avoids
creating any new keywords.
--
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