[pypy-svn] r69587 - pypy/trunk/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Tue Nov 24 16:05:14 CET 2009
Author: fijal
Date: Tue Nov 24 16:05:14 2009
New Revision: 69587
Modified:
pypy/trunk/pypy/objspace/std/unicodeobject.py
Log:
Port the fix from stringbuilder branch. unicode join should use unpackiterable
Modified: pypy/trunk/pypy/objspace/std/unicodeobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/unicodeobject.py (original)
+++ pypy/trunk/pypy/objspace/std/unicodeobject.py Tue Nov 24 16:05:14 2009
@@ -174,7 +174,7 @@
return space.newbool(container.find(item) != -1)
def unicode_join__Unicode_ANY(space, w_self, w_list):
- l = space.listview(w_list)
+ l = space.unpackiterable(w_list)
delim = w_self._value
totlen = 0
if len(l) == 0:
More information about the Pypy-commit
mailing list