Message162283
I'm attaching a patch implementing super.__setattr__ (and __delattr__).
The implementation in the patch only works, if super can find a data descriptor in the MRO, otherwise it throws an AttributeError. As it can be seen in the tests, in some cases this may result in counter-intuitive behaviour. But I wasn't able to find another behaviour, that is consistent with both super.__getattr__ and normal __setattr__ semantics. |
|
Date |
User |
Action |
Args |
2012-06-04 19:26:52 | daniel.urban | set | recipients:
+ daniel.urban, ncoghlan, eric.araujo, alex, josmiley, 猫.黒 |
2012-06-04 19:26:52 | daniel.urban | set | messageid: <1338838012.72.0.11388935946.issue14965@psf.upfronthosting.co.za> |
2012-06-04 19:26:52 | daniel.urban | link | issue14965 messages |
2012-06-04 19:26:52 | daniel.urban | create | |
|