Movatterモバイル変換
[0]ホーム
More damage to intuition (was RE: [Python-Dev] Comparison of recursive objects)
Neil Schemenauernas@arctrix.com
Sat, 20 Jan 2001 07:59:14 -0800
On Sat, Jan 20, 2001 at 03:10:51PM -0500, Tim Peters wrote:> While Python can't enforce that any user-defined __cmp__ is consistent, I> think it should continue to set a good example in the way it implements its> own comparisons.I think the 2.0 behavior should be fairly easy to restore. I'llleave it up to Guido though since he's "Mr. Comparison" now and Ihaven't looked at the code since I checked in the coercion patch. Neil
[8]ページ先頭