Preemptively backport the relevant parts of r65420
commitfd7e877e4598843bdfeb4a44910b235d301f1772
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 2 Aug 2008 21:58:05 +0000 (2 21:58 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 2 Aug 2008 21:58:05 +0000 (2 21:58 +0000)
tree36014f7a91fdbcdea9d7c4c06402a00a426f1acb
parenta96045c96d4af76cabba7941abd18403c376033e
Preemptively backport the relevant parts of r65420

git-svn-id: http://svn.python.org/projects/python/trunk@65422 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_str.py
Objects/stringobject.c