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

Tim Peters tim.peters at gmail.com
Thu Aug 26 23:20:28 CEST 2004


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

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


More information about the Python-Dev mailing list