Re: Re: [selfish-devel] Class objects as slots
Brought to you by:
tlilley
|
From: Chuck E. <ec...@mi...> - 2000-11-29 01:30:09
|
At 06:45 AM 11/27/00 +0000, Tripp Lilley wrote: >On Mon, 27 Nov 2000, Tripp Lilley wrote: > > > I have to think about this some more. I know there's a better way. > >This PEP, under active consideration for 2.1, would at least help a little >bit: > > http://python.sourceforge.net/peps/pep-0213.html 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...? -Chuck |