This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:59Ronny.Pfannschmidtsetrecipients: + Ronny.Pfannschmidt
2012-10-30 08:07:59Ronny.Pfannschmidtsetmessageid: <1351584479.14.0.539937815992.issue16363@psf.upfronthosting.co.za>
2012-10-30 08:07:59Ronny.Pfannschmidtlinkissue16363 messages
2012-10-30 08:07:58Ronny.Pfannschmidtcreate