Re: Re: [selfish-devel] Class objects as slots
Brought to you by:
tlilley
|
From: Chuck E. <ec...@mi...> - 2000-11-29 01:50:27
|
At 01:58 AM 11/29/00 +0000, Tripp Lilley wrote:
>On Tue, 28 Nov 2000, Chuck Esterbrook wrote:
>
> > His desire is right, but his proposal kind of sucks. He wants a
> > __attr_foo() method that takes a parameter "get", "set" or "del". Give
> me a
> > break. How about a method for each...?
>
>That was my thought, too. Something more like:
>
> __getattr_foo__
> __setattr_foo__
> __delattr_foo__
>
>Of course, coupled with:
>
> __getmeth_foo__
Uh, yeah. I don't know about that last one. :)
And do we really need quintuple underscores? How aobut:
def foo():
def setFoo():
def delFoo():
-Chuck
|