Michal Wallace <[EMAIL PROTECTED]> wrote:

>    class Clown:
>        pass

> I have a lexical variable "Clown" pointing at
> a parrotclass pmc.

> However, when I go to instantiate Clown, I do
> this:

First parrot objects aren't that finished, that you can instantiate an
object...

>    bozo = Clown()

... but for this you will have either to subclass ParrotClass or
ParrotClass provides everything in a general way so that on invoke() the
__new__ and __init__ hooks are called.

Anyway, its a function call and the return result in P5 is your new
object.

> ... So I'm trying to decide between two
> approaches:

 3) wait until classes and objects are done ;-)

> Sincerely,
>
> Michal J Wallace

leo

Reply via email to