[Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find __slots__

Tim Peters tim.one@comcast.net
Fri, 15 Feb 2002 15:13:32 -0500

[Michael McLay]
> ...
> Had Guido suggested the alternative slot syntaxes back at the start of
> November I would have used one of the alternative syntaxes instead
> of creating a new builtin function.

Guido said several times during 2.2 development that he didn't like using builtin
functions for some of the new class features, but that syntax issues were off the table
before 2.3 because there wasn't time to address them for 2.2.  He didn't repeat this
every time it was brought up, though; you can't imagine how pressed for time we all were,
and Guido especially.

>> class Foo(object):
>>     property myprop:
>>         """A computed property on Foo objects."""
>>         def __get__(self):
>>             return ...
>>         def __set__(self):
>>             ...
>>         def __delete__(self):

> Is someone working on an implementation of this?

Not within PythonLabs at present.