On Dec 12, 4:09 am, Kay Schluehr <[EMAIL PROTECTED]> wrote: > I vaguely remember a discussion a few years ago, where someone made > the quite reasonable suggestion of introducing some kind of > thunk_statement: > > class A(object): > foo = property: > def fget(self): > return self._foo > def fset(self, value): > self._foo = value
That's almost identical to a recipe I had written once upon a time, without requiring a syntax change: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/410698 George -- http://mail.python.org/mailman/listinfo/python-list