possible string.strip memory leakage

Mike Brenner mikeb at mitre.org
Wed Mar 13 18:56:45 EST 2002


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.





More information about the Python-list mailing list