]> granicus.if.org Git - python/commit
Fix some endcase bugs in unicode rfind()/rindex() and endswith().
authorGuido van Rossum <guido@python.org>
Tue, 20 Aug 2002 17:29:29 +0000 (17:29 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 20 Aug 2002 17:29:29 +0000 (17:29 +0000)
commit76afbd9aa41bf34f488a7a1e759622c7f1830cff
treee4fb84ab073d0da8a668381b45dae2cb96c92c6a
parentc230b0e1f92bdc54318d58a07859bfcd7b03979a
Fix some endcase bugs in unicode rfind()/rindex() and endswith().
These were reported and fixed by Inyeol Lee in SF bug 595350.  The
endswith() bug was already fixed in 2.3, but this adds some more test
cases.
Lib/test/test_unicode.py
Misc/ACKS
Objects/stringobject.c
Objects/unicodeobject.c