Re: class proposal 2

"Mark Hahn" <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Serge Orlov wrote:

> Besides all new class proposals break except statement, if
> you try to write
>
> except X:
>
> it won't work because except is walking prototype chain and
> the chain will lead you to X.instance_ prototype which is
> not equal to X. Types solve that.

Actually in my last proposal Klass was the prototype of the instance
Klass().  I had thought that through.  That was one of the reasons I turned
your proposal inside out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.