self

Scott Leschke (leschkes@ferret.cig.mot.com)
4 May 94 21:45:23 GMT

I've looked at Python and generally like it although one thing that
really bothers me the wrong way is the asymmetry between a class method
call and a class method declaration. In the first 'self' is implicitly
passed, in the second it has to be explicitly accounted for. IMHO,
I think it would be preferable to have 'self' reserved and be implicit
on both invocation and declaration.

Might this be changing in the future ? It's not a big deal but seems
like a potential source of errors. It also seems like something that
could be easily modified automatically should the decision to change
this ever be made.

Also, is there any way to duplicate the concept of a destructor in
Python, ala C++ ?

Scott Leschke
Motorola Inc.