possible string.strip memory leakage

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Thu Mar 14 06:46:38 EST 2002


Mike Brenner <mikeb at mitre.org> wrote:

>There might be a memory leak in string.strip. 
>
>I wrote a python function to strip blanks off the left and right of a string. When I discovered string.strip, I replaced the call to my version with string.split, and I got a large memory leakage. When I put the call back to calling my python function, the memory leakage went away.
>

I'd be more inclined to search for your newline leak.

--
Dale Strickland-Clark
Riverhall Systems Ltd



More information about the Python-list mailing list