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

Raymond Hettinger python at rcn.com
Thu Aug 26 23:41:33 CEST 2004


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

[Uncle Tim] 
> 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

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


Raymond



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