commit | 4a1f593df5d4733831a1c4f03ca40c701433c43d | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Wed Nov 12 23:23:36 2008 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Wed Nov 12 23:23:36 2008 +0000 |
tree | 0aea7b57d9c6fad40a32cca6be0993bd607ed9e2 | |
parent | 3d4ca74bc85c4224498e75704f82e4d42b6a04df [diff] |
Issue #4296: Fix PyObject_RichCompareBool so that "x in [x]" evaluates to True, even when x doesn't compare equal to itself. This was a regression from 2.6. Reviewed by R. Hettinger and C. Heimes.