]> granicus.if.org Git - python/commit
Fix Unicode .join() method to raise a TypeError for sequence
authorMarc-André Lemburg <mal@egenix.com>
Thu, 20 Sep 2001 17:22:58 +0000 (17:22 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Thu, 20 Sep 2001 17:22:58 +0000 (17:22 +0000)
commit3508e308613055ea28bfb766828f03cc08a6789b
treeaf687cb55be863ce0a3db628f2e3c9e78a6c389c
parent5e89bd656f6cb48ada3547af4303a923902145e8
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.
Lib/test/output/test_unicode
Objects/unicodeobject.c