Another way to spell __metaclass__ ?
Mike Dean
klaatu at evertek.net
Fri Dec 13 13:24:05 EST 2002
On Fri, 13 Dec 2002 16:42:11 +0100 Martin v. Löwis <martin at v.loewis.de> wrote:
> [various ways of specifying metaclasses]
>
> There are certainly other ways to write this down; I don't know what the
> most intuitive and least hacky way is.
How about something like this:
class IUnknown is interface:
....
or:
class(interface) IUnkwown:
yada yada yada
Although, I have thought about an idea or two for a redesigned
architecture of Python that would make it _fully_ dynamic, not just
semantically, but syntactically as well. To allow creation of new
keywords on the fly, etc. But it is full of more than its share of
holes, and unpredicability.
-Mike
More information about the Python-list
mailing list