[Python-Dev] Re: [Bug #121013] Bug in <stringobject>.join(<unicodestring>)

Fredrik Lundh fredrik@effbot.org
Mon, 27 Nov 2000 22:29:25 +0100

Michael Hudson wrote:
> > The way I found it was perhaps instructive.  I was looking at the
> > function, and thought "that's a bit complicated" so I rewrote it (My
> > rewrite also seems to be bit quicker so I'll upload it as soon as make
> > test has finished[*]).

your patch changes the behaviour of join on non-standard sequences.

if you use join on a long synthetic sequence, your new version may run
out of memory where the old one worked just fine.

not sure that's a good idea.