[issue7458] crash in str.find() and str.rfind() with invalid start value

flox report at bugs.python.org
Tue Dec 8 12:21:39 CET 2009


flox <laxyf at yahoo.fr> added the comment:

I got it to crash (2.7):

~ $ ./python Lib/test/regrtest.py string_tests test_unicode test_str
test_unicode
test test_unicode failed -- Traceback (most recent call last):
AssertionError: -1 != -8276732

test_str
test test_str failed -- Traceback (most recent call last):
AssertionError: -1 != -255833

2 tests failed:
    test_unicode test_str
[56425 refs]
~ $ 

Thank you haypo :)

----------
versions: +Python 2.6, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7458>
_______________________________________


More information about the Python-bugs-list mailing list