[Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find slots (original) (raw)
john coppola john_coppola_r_s@yahoo.com
Fri, 15 Feb 2002 13:03:10 -0800 (PST)
- Previous message: [Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find __slots__
- Next message: [Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find __slots__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is beautiful! It's like an innerclass. Perfect! Encapulated delegate. I can't wait for Python 3.0.
class Foo(object): property myprop: """A computed property on Foo objects."""
def get(self): return ... def set(self): ... def delete(self): ... -Fred -- Fred L. Drake, Jr. PythonLabs at Zope Corporation
Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com
- Previous message: [Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find __slots__
- Next message: [Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find __slots__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]