Message174184
| Author |
Ronny.Pfannschmidt |
| Recipients |
Ronny.Pfannschmidt |
| Date |
2012年10月30日.08:07:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351584479.14.0.539937815992.issue16363@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
this means its much harder to have a mixin to change the behaviour of a property
instead of super(Mixin, self).prop = foo
the code is super(Mixin, type(self)).prop.__set__(self, foo)
which is way harder to understand
the attached file demonstrates the problem and has a proof of concept for an extended super allowing descriptor invocations |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年10月30日 08:07:59 | Ronny.Pfannschmidt | set | recipients:
+ Ronny.Pfannschmidt |
| 2012年10月30日 08:07:59 | Ronny.Pfannschmidt | set | messageid: <1351584479.14.0.539937815992.issue16363@psf.upfronthosting.co.za> |
| 2012年10月30日 08:07:59 | Ronny.Pfannschmidt | link | issue16363 messages |
| 2012年10月30日 08:07:58 | Ronny.Pfannschmidt | create |
|