]> granicus.if.org Git - python/commit
Patch # 1145 by Thomas Lee:
authorGuido van Rossum <guido@python.org>
Thu, 27 Sep 2007 18:01:22 +0000 (18:01 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 27 Sep 2007 18:01:22 +0000 (18:01 +0000)
commitf1044293fa36667b5ba11fbc7acac21a03b82710
tree41aac1b32323f1ae889d88c097157d330dc1aff7
parent4e02c503e789337b07cc14ece3f5adbf23732c89
Patch # 1145 by Thomas Lee:

str.join(...) now applies str() to the sequence elements if they're
not strings alraedy, except for bytes, which still raise TypeError
(for the same reasons why ""==b"" raises it).
Doc/library/stdtypes.rst
Lib/test/string_tests.py
Lib/test/test_descr.py
Lib/test/test_unicode.py
Objects/unicodeobject.c