[Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find (original) (raw)

Aahz Maruch aahz@rahul.net
Fri, 15 Feb 2002 19:22:02 -0800 (PST)


Burton Radons wrote:

What's wrong with: class Foo(object): class mypropclass (object): """A computed property on Foo objects.""" def get(subclass, self, klass): return ... def set(subclass, self, value): ... def delete(subclass, self): ...

How about this:

class Foo(object):
    class myprop(property):
        ...

-- --- Aahz (@pobox.com)

Hugs and backrubs -- I break Rule 6 <*> http://www.rahul.net/aahz/ Androgynous poly kinky vanilla queer het Pythonista

We must not let the evil of a few trample the freedoms of the many.