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 ncoghlan
Recipients PiDelport, Rhamphoryncus, barry, georg.brandl, gvanrossum, jcea, jkrukoff, ncoghlan, rhettinger, terry.reedy
Date 2008-07-07.13:03:00
SpamBayes Score 4.477631e-05
Marked as misclassified No
Message-id <1215435782.35.0.965314115125.issue643841@psf.upfronthosting.co.za>
In-reply-to
Content
The outcome of discussion of this issue on python-dev was that the
lookup methodology for the special methods needs to be better
documented, especially for those cases where the instance *must* be
bypassed in order to avoid metaclass confusion for special methods that
apply to both types and instances (see issue 2517 for such a problem
that currently afffects the lookup of __unicode__). However, we're not
prepared to add a standard delegation mixin to the standard library at
this stage (I may still add a cleaned up version of mine to the SVN
sandbox as an executable reference source for the relevant section of
the documentation though).

While I offered to write that new section of the docs during the
python-dev discussion, I'm not sure when I'll be able to get to it (My
Python time lately has mostly been spent investigating __hash__ fun and
games).
History
Date User Action Args
2008-07-07 13:03:02ncoghlansetspambayes_score: 4.47763e-05 -> 4.477631e-05
recipients: + ncoghlan, gvanrossum, barry, georg.brandl, rhettinger, terry.reedy, jcea, Rhamphoryncus, jkrukoff, PiDelport
2008-07-07 13:03:02ncoghlansetspambayes_score: 4.47763e-05 -> 4.47763e-05
messageid: <1215435782.35.0.965314115125.issue643841@psf.upfronthosting.co.za>
2008-07-07 13:03:01ncoghlanlinkissue643841 messages
2008-07-07 13:03:00ncoghlancreate