COMMITS
/ Lib/test/string_tests.py March 22, 2026
S
gh-145144: Add more tests for UserList, UserDict, etc (GH-145145)
Serhiy Storchaka committed
November 25, 2025
K
gh-140911: Ensure that UserString.index() and UserString.rindex() accept UserString as argument (GH-140945)
Krishna Chaitanya committed
July 13, 2025
D
gh-127971: fix off-by-one read beyond the end of a string during search (#132574)
Duane Griffin committed
September 13, 2024
B
closes gh-124016: update Unicode to 16.0.0 (#124017)
Benjamin Peterson committed
April 3, 2024
E
gh-117431: Adapt str.find and friends to Argument Clinic (#117468)
Erlend E. Aasland committed
E
gh-117431: Adapt str.startswith and str.endswith to Argument Clinic (#117466)
Erlend E. Aasland committed
October 1, 2023
N
gh-110160: Fix flaky `test_find_periodic_pattern` in `string_tests` (#110170)
Nikita Sobolev committed
July 10, 2023
H
gh-106487: Allow the 'count' argument of `str.replace` to be a keyword (#106488)
Hugo van Kemenade committed
May 23, 2023
D
gh-81005: Refactor str tests to reflect that str and unicode are merged in Python 3 (#13172)
Daniel Fortunov committed
October 15, 2022
N
gh-94808: Cover `str.rsplit` for UCS1, UCS2 or UCS4 (#98228)
Nikita Sobolev committed
September 13, 2022
D
gh-94808: improve comments and coverage of fastsearch.h (GH-96760)
Dennis Sweeney committed
November 1, 2021
C
bpo-45668: Fix PGO tests without test extensions (GH-29315)
Christian Heimes committed
June 27, 2021
M
bpo-44110: Improve string's __getitem__ error message (GH-26042)
Miguel Brito committed
February 28, 2021
D
bpo-41972: Use the two-way algorithm for string searching (GH-22904)
Dennis Sweeney committed
April 22, 2020
S
bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939)
sweeneyde committed
October 30, 2019
S
bpo-28029: Make "".replace("", s, n) returning s for any n != 0. (GH-16981)
Serhiy Storchaka committed
May 17, 2019
Z
bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)
Zackery Spytz committed
April 12, 2019
January 28, 2018
I
bpo-32677: Optimize str.isascii() (GH-5356)
INADA Naoki committed
January 27, 2018
I
bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342)
INADA Naoki committed
April 10, 2016
M
Remove relics of str8 (became bytes) and buffer (bytearray) type tests
Martin Panter committed
M
Issue #26712: Unify (r)split, (l/r)strip tests into string_tests
Martin Panter committed
April 6, 2016
M
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
Martin Panter committed
February 2, 2016
M
Issue #19587: Remove masked and redundant tests in test_bytes
Martin Panter committed
December 17, 2015
M
Fix a couple of typos in code comments
Martin Panter committed
May 31, 2015
S
Issue #24284: The startswith and endswith methods of the str class no longer
Serhiy Storchaka committed
September 28, 2014
B
merge 3.4 (#22379)
Benjamin Peterson committed
B
check that exception messages are not empty (#22379)
Benjamin Peterson committed
March 19, 2014
E
Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception
Ethan Furman committed
February 7, 2014
S
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka committed
S
Issue #20532: Tests which use _testcapi now are marked as CPython only.
Serhiy Storchaka committed
February 6, 2014
S
Catch deprecation warnings emitted when non-integers are formatted with %c, %o
Serhiy Storchaka committed
December 8, 2013
Z
Issue 19572: More silently skipped tests explicitly skipped.
Zachary Ware committed
Z
Issue 19572: More silently skipped tests explicitly skipped.
Zachary Ware committed
November 16, 2013
E
#17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs().
Ezio Melotti committed
April 21, 2013
E
Remove duplicated tests.
Ezio Melotti committed
January 19, 2013
S
Issue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka committed
S
Issue #15989: Fix several occurrences of integer overflow
Serhiy Storchaka committed
January 10, 2013
August 28, 2012
B
merge 3.2 (#15801)
Benjamin Peterson committed
B
use the stricter PyMapping_Check (closes #15801)
Benjamin Peterson committed
August 2, 2012
V
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Victor Stinner committed
May 7, 2012
February 26, 2012
January 11, 2012
B
use full unicode mappings for upper/lower/title case (#12736)
Benjamin Peterson committed
October 20, 2011
A
Issue #12170: The count(), find(), rfind(), index() and rindex() methods
Antoine Pitrou committed
September 24, 2011
August 15, 2011
April 20, 2011
E
Use non-deprecated method name.
Ezio Melotti committed