Message174716
| Author |
Sean.Ochoa |
| Recipients |
Sean.Ochoa, eric.araujo, ezio.melotti, ncoghlan, petri.lehtinen, terry.reedy |
| Date |
2012年11月03日.22:37:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351982223.8.0.231702148722.issue13349@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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] |
|