Re: [Python-Dev] Does eval() leak?

2006-02-20 Thread John Marshall
Martin v. Löwis wrote: John Marshall wrote: Should I expect the virtual memory allocation to go up if I do the following? python-dev is a list for discussing development of Python, not the development with Python. Please post this question to [EMAIL PROTECTED] For python-dev

[Python-Dev] Does eval() leak?

2006-02-17 Thread John Marshall
Hi, Should I expect the virtual memory allocation to go up if I do the following? - raw = open(data).read() while True: d = eval(raw) - I would have expected the memory allocated to the object referenced by d to be deallocated, garbage collected, and reallocated for the new