mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
On 17-Mar-2000, Marc-Andre Lemburg said:
Attached you find an update of the Unicode implementation. The patch is against the current CVS version. I would appreciate if someone with CVS checkin permissions could check the changes in. The patch contains all bugs and patches sent this week and also fixes a leak in the codecs code and a bug in the free list code for Unicode objects (which only shows up when compiling Python with Py_DEBUG; thanks to MarkH for spotting this one).
This commit is contained in:
parent
abc411bac8
commit
51ac58039f
9 changed files with 61 additions and 39 deletions
|
@ -108,6 +108,7 @@ if 0:
|
|||
test('translate', u'xyz', u'xyz', table)
|
||||
|
||||
test('replace', u'one!two!three!', u'one@two!three!', u'!', u'@', 1)
|
||||
test('replace', u'one!two!three!', u'onetwothree', '!', '')
|
||||
test('replace', u'one!two!three!', u'one@two@three!', u'!', u'@', 2)
|
||||
test('replace', u'one!two!three!', u'one@two@three@', u'!', u'@', 3)
|
||||
test('replace', u'one!two!three!', u'one@two@three@', u'!', u'@', 4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue