Message3155

Author pjenvey
Recipients cgroves, pjenvey, tristan, tristanlk
Date 2008-04-15.01:29:27
SpamBayes Score 0.07020699
Marked as misclassified No
Message-id <1208222967.96.0.0861234824748.issue1889394@psf.upfronthosting.co.za>
In-reply-to
Content
2.2 handles this correctly -- it looks like a TypeError raised here is 
new -- the expose MethodType.CMP descriptor is throwing it.

'hi' == {} still works ok because _cmpeq_unsafe calls PyString __cmp__ 
directly (which returns -2) but a call to a derived's __cmp__ actually 
calls its exposed __cmp__, which is compiled to throw a TypeError when 
it gets back -2

We probably just want the exposed __cmp__ to not throw a TypeError here 
instead. Assigning over to Charlie because I think he might have changed 
it (the exposer is causing the TypeError)
History
Date User Action Args
2008-04-15 01:29:28pjenveysetspambayes_score: 0.070207 -> 0.07020699
recipients: + pjenvey, cgroves, tristanlk, tristan
2008-04-15 01:29:27pjenveysetspambayes_score: 0.070207 -> 0.070207
messageid: <1208222967.96.0.0861234824748.issue1889394@psf.upfronthosting.co.za>
2008-04-15 01:29:27pjenveylinkissue1889394 messages
2008-04-15 01:29:27pjenveycreate