I come to praise .join, not to bury it...

Paul Moore paul.moore at uk.origin-it.com
Tue Mar 6 12:42:08 CET 2001


On Tue, 6 Mar 2001 10:16:55 +0100 , "Alex Martelli"
<aleaxit at yahoo.com> wrote:
>>>> uc=Sequence(3,u'bbb')
>>>> u'z'.join(uc)
>u'bbbzbbbzbbb'
>>>> 't'.join(uc)
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>TypeError: coercing to Unicode: need string or buffer, tuple found
>
>and a Control-Z now crashes/hangs the Python interpreter (2.0, on
>Win32).  OK, some kind of ugly bug in 2.0 (gotta get 2.1b1 and
>check if the bug is still there...!!!).

Yes, this is fixed in 2.1b1.

Paul.




More information about the Python-list mailing list