Message3565

Author leosoto
Recipients brosner, leosoto
Date 2008-09-14.00:51:23
SpamBayes Score 4.66713e-05
Marked as misclassified No
Message-id <1221353484.7.0.0889971605293.issue1131@psf.upfronthosting.co.za>
In-reply-to
Content
The cause here is PyTypeDerived#__repr__ looking up for the  "__repr__"
entry on its type and finding the one exposed by PyObject.

I think we will have to check if the type that exposed __repr__ is down
in the type hierarchy or not. In the later case, we should call super()
instead of the exposed __repr__().  Another possibility would be to
actually expose __repr__ on PyType, but that would mean that we should
do the same with every type implementing toString().
History
Date User Action Args
2008-09-14 00:51:24leosotosetmessageid: <1221353484.7.0.0889971605293.issue1131@psf.upfronthosting.co.za>
2008-09-14 00:51:24leosotosetrecipients: + leosoto, brosner
2008-09-14 00:51:24leosotolinkissue1131 messages
2008-09-14 00:51:23leosotocreate