Steven Bethard wrote:
> Guido also suggests that the explicit:
> 
>     class C(object):
>         pass
> 
> is "much preferred"[2] over:
> 
>     __metaclass__ = type
> 
>     class C:
>         pass

Really? I have been toying with the idea of using the __metaclass__ 
trick, since it results in completely valid Jython 2.1 code, as long as 
you don't use any of the new-style features.

But once Brian Zimmer gets his broadband fixed, we're supposed to get a 
new alpha release. =)

Dave
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to