Sean Ochoa added the comment: It seems that this has been fixed. Using simple tests from msg147215:
~/hg/cpython/working $ env-py3.3/bin/python Python 3.3.0 (default, Nov 3 2012, 15:28:29) [GCC 4.7.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> [].index(list(range(1000))) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: [0, 1, 2, 3, 4, 5, ... 995, 996, 997, 998, 999] is not in list [60649 refs] >>> class Foo: pass ... [60679 refs] >>> [].index(Foo()) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: <__main__.Foo object at 0x7f7fad31bc30> is not in list [60677 refs] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13349> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com