Message3164

Author leosoto
Recipients cgroves, leosoto, pjenvey, tristan, tristanlk
Date 2008-04-21.21:11:29
SpamBayes Score 0.0
Marked as misclassified No
Message-id <1208812289.74.0.051949899504.issue1889394@psf.upfronthosting.co.za>
In-reply-to
Content
If we want to behave exactly like CPython, __cmp__ should continue
throwing TypeError ({}.__cmp__('foo') does throws such exception there).

It seems that CPython does some trickery after calling __cmp__, but
doesn't apply it to every object, as shown on
>http://pylonshq.com/pasties/779>. And, if I understand correctly, the
current patch is going to swallow TypeError on every __cmp__ invocation,
unlike CPython.
History
Date User Action Args
2008-09-12 00:32:05nrileysetspambayes_score: 0.248974 -> 0.0
2008-04-21 21:11:29leosotosetspambayes_score: 0.248974 -> 0.248974
messageid: <1208812289.74.0.051949899504.issue1889394@psf.upfronthosting.co.za>
2008-04-21 21:11:29leosotosetspambayes_score: 0.248974 -> 0.248974
recipients: + leosoto, cgroves, pjenvey, tristanlk, tristan
2008-04-21 21:11:29leosotolinkissue1889394 messages
2008-04-21 21:11:29leosotocreate