diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-09-20 17:22:58 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-09-20 17:22:58 (GMT) |
commit | 3508e308613055ea28bfb766828f03cc08a6789b (patch) | |
tree | af687cb55be863ce0a3db628f2e3c9e78a6c389c /Lib/test/output/test_unicode | |
parent | 5e89bd656f6cb48ada3547af4303a923902145e8 (diff) | |
download | cpython-3508e308613055ea28bfb766828f03cc08a6789b.zip cpython-3508e308613055ea28bfb766828f03cc08a6789b.tar.gz cpython-3508e308613055ea28bfb766828f03cc08a6789b.tar.bz2 |
Fix Unicode .join() method to raise a TypeError for sequence
elements which are not Unicode objects or strings. (This matches
the string.join() behaviour.)
Fix a memory leak in the .join() method which occurs in case
the Unicode resize fails.
Restore the test_unicode output.
Diffstat (limited to 'Lib/test/output/test_unicode')
-rw-r--r-- | Lib/test/output/test_unicode | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/output/test_unicode b/Lib/test/output/test_unicode index 11c9c80..783a486 100644 --- a/Lib/test/output/test_unicode +++ b/Lib/test/output/test_unicode @@ -1,5 +1,4 @@ test_unicode -* <built-in method join of unicode object at 0x81b3ba0> u' ' <class exceptions.TypeError at 0x80fac4c> u'7 hello 123' Testing Unicode comparisons... done. Testing Unicode contains method... done. Testing Unicode formatting strings... done. |