[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/testtest_string.py, 1.25, 1.26

Tim Peters tim.peters at gmail.com
Fri Aug 27 00:20:50 CEST 2004


[Walter Dörwald]
>>> ...
>>> Seems like we have to rewrite PyUnicode_Join().

[Uncle Timmy]
>> We probably should anyway.  By eyeball just now, I noticed it slings
>> expressions like "reslen + itemlen + seplen" and "sz*2" without
>> worrying about integer overflow.  string_join() is careful about such
>> stuff; sooner or later, shortcuts of this nature turn into bug reports

[Nephew Raymond]
> Sounds like an excellent project for Nick.
> Too bad I had just convinced him it was a can of worms ;-)

I needed a break from intractable database problems, and am almost
done with PyUnicode_Join().  I'm not doing auto-unicode(), though, so
there will still be plenty of fun left for Nick!


More information about the Python-Dev mailing list