]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make unicode.join() work nice with iterators. This also required a change
authorTim Peters <tim.peters@gmail.com>
Sat, 5 May 2001 05:36:48 +0000 (05:36 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 5 May 2001 05:36:48 +0000 (05:36 +0000)
commit2cfe36828342e16cd274b968736a01aed5c49557
tree8ee8bf38509e6abf06a98d561973d3a3eccee01d
parent432b42aa4c31fd473690ffeee446dcd493f8a8aa
Make unicode.join() work nice with iterators.  This also required a change
to string.join(), so that when the latter figures out in midstream that
it really needs unicode.join() instead, unicode.join() can actually get
all the sequence elements (i.e., there's no guarantee that the sequence
passed to string.join() can be iterated over *again* by unicode.join(),
so string.join() must not pass on the original sequence object anymore).
Lib/test/test_iter.py
Misc/NEWS
Objects/stringobject.c
Objects/unicodeobject.c