strong/weak - dynamic/static [Was: Getting started]
Alex Martelli
aleax at aleax.it
Thu Sep 19 11:40:08 EDT 2002
Henrik Motakef wrote:
...
>> Python 2.2.1 (#1, Jun 25 2002, 10:55:46)
...
> There's a difference between a type and a class, I guess...
In the release of Python you use, the default metaclass for
your classes is still such as to force a difference, yes.
Just use one of the many ways to make your classes new-style
(e.g., a global variable __metaclass__=type will do) if you
are bothered by this distinction (gradually going away, but
with care for backwards compatibility, of course).
Alex
More information about the Python-list
mailing list