Raising objects
Steven Taschuk
staschuk at telusplanet.net
Thu May 1 20:18:33 EDT 2003
Quoth Aahz:
> In article <mailman.1051818078.23819.python-list at python.org>,
> Steven Taschuk <staschuk at telusplanet.net> wrote:
> >Quoth Aahz:
> >>
> >> This is another reason why new-style classes can't be accepted yet:
> >> there's no reliable way to tell the distinction between class and
> >> instance.
> >
> >isinstance(x, type)?
>
> But that doesn't tell you whether x is a class.
I'm not sure what you're saying. In the Brave New World where
classes and types are the same thing, it seems meaningless to say
"that's a type, but it's not a class". Am I missing something?
--
Steven Taschuk staschuk at telusplanet.net
"Telekinesis would be worth patenting." -- James Gleick
More information about the Python-list
mailing list