Message179217
Just as a note, there is a distinct possibility that a "property" in a superclass could be some other kind of descriptor object that's not a property. To handle that case, the solution of
super(self.__class__, self.__class__).x.fset(self, value)
would actually have to be rewritten as
super(self.__class__, self.__class__).x.__set__(self, value)
That said, I agree it would be nice to have a simplified means of accomplishing this. |
|
Date |
User |
Action |
Args |
2013-01-06 20:20:16 | dabeaz | set | recipients:
+ dabeaz, ncoghlan, eric.araujo, alex, cvrebert, asvetlov, daniel.urban, torsten, josmiley, Ronny.Pfannschmidt, 猫.黒 |
2013-01-06 20:20:16 | dabeaz | set | messageid: <1357503616.56.0.972176154814.issue14965@psf.upfronthosting.co.za> |
2013-01-06 20:20:16 | dabeaz | link | issue14965 messages |
2013-01-06 20:20:16 | dabeaz | create | |
|