summaryrefslogtreecommitdiff
path: root/Lib/test/string_tests.py
AgeCommit message (Expand)AuthorLines
2010-08-02Merged revisions 78758 via svnmerge fromEzio Melotti-2/+3
2010-01-24Merged revisions 77729 via svnmerge fromEzio Melotti-9/+9
2008-09-26#3967: Correct a crash in count() and find() methods of string-like objects.Amaury Forgeot d'Arc-0/+16
2008-09-01Issue #3751: str.rpartition would perform a left-partition when called withAmaury Forgeot d'Arc-0/+5
2008-03-26Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,...Christian Heimes-2/+6
2008-02-24Issue 1742669. Now %d accepts very big float numbers.Facundo Batista-0/+9
2007-11-16Now in find, rfind, index, and rindex, you can use None as defaults,Facundo Batista-0/+28
2007-08-28Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters-2/+12
2007-06-11Fix a bug when there was a newline in the string expandtabs was called on.Neal Norwitz-0/+5
2007-05-03Fix those parts in the testsuite that assumed that sys.maxint would cause ove...Kristján Valur Jónsson-2/+2
2007-04-25Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz-2/+2
2007-04-12SF 1193128: Let str.translate(None) be an identity transformationRaymond Hettinger-0/+3
2006-09-04Fix endcase for str.rpartition()Raymond Hettinger-1/+1
2006-07-30Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz-2/+7
2006-06-10Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.Georg Brandl-0/+2
2006-06-09RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first...Georg Brandl-1/+31
2006-06-01Re-enable a new empty-string test added during the NFS sprint,Tim Peters-6/+1
2006-05-30changed count to return 0 for slices outside the source stringFredrik Lundh-1/+2
2006-05-30changed find/rfind to return -1 for matches outside the source stringFredrik Lundh-0/+8
2006-05-29fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying onFredrik Lundh-0/+8
2006-05-26needspeed: rpartition documentation, tests, and a bug fixes.Fredrik Lundh-2/+17
2006-05-26Test for more edge strip cases; leading and trailing separator gets removedAndrew Dalke-0/+2
2006-05-26Added more rstrip tests, including for prealloc'ed arraysAndrew Dalke-1/+54
2006-05-26Test cases for off-by-one errors in string split with multicharacter pattern.Andrew Dalke-0/+2
2006-05-26I like tests.Andrew Dalke-0/+32
2006-05-26Added split whitespace checks for characters other than space.Andrew Dalke-0/+1
2006-05-26Added a few more test cases for whitespace split. These strings have leading...Andrew Dalke-0/+7
2006-05-26needforspeed: partition implementation, part two.Fredrik Lundh-0/+15
2006-05-25Whitespace normalization.Tim Peters-2/+2
2006-05-25needforspeed: check for overflow in replace (from Andrew Dalke)Fredrik Lundh-9/+8
2006-05-25Added tests for implementation error we came up with in the need for speed sp...Andrew Dalke-0/+19
2006-05-24Disable the damn empty-string replace test -- it can'tTim Peters-2/+2
2006-05-24We can't leave the checked-in tests broken.Tim Peters-5/+10
2006-05-24Added a slew of test for string replace, based various corner cases fromAndrew Dalke-0/+157
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+3
2005-10-21Fix bug:Michael W. Hudson-0/+9
2005-07-28Disable encoding/decoding test, if unicode is disabled.Walter Dörwald-19/+20
2005-02-20* Beef-up tests for str.count().Raymond Hettinger-0/+28
2005-02-20* Beef-up testing of str.__contains__() and str.find().Raymond Hettinger-0/+24
2004-10-26SF bug #1054139: serious string hashing error in 2.4b1Raymond Hettinger-0/+9
2004-08-27test_bug1001011(): Verify thatTim Peters-5/+33
2004-08-26Move test_bug1001011() to string_tests.MixinStrUnicodeTest so thatWalter Dörwald-0/+19
2004-08-04SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang-25/+0
2004-06-04Add iswide() and width() method for UserString according as theHye-Shik Chang-0/+25
2004-01-05[SF #866875] Add a specialized routine for one characterHye-Shik Chang-14/+55
2003-12-23Fix unicode.rsplit()'s bug that ignores separater on the end of string whenHye-Shik Chang-0/+2
2003-12-15Add rsplit method for str and unicode builtin types.Hye-Shik Chang-0/+20
2003-11-26Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger-3/+3
2003-08-27SF bug #795506: Wrong handling of string format code for float values.Raymond Hettinger-0/+1
2003-04-24Whitespace normalization.Tim Peters-1/+0