[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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant