memory leak "import random"

Jeff Epler jepler at unpythonic.net
Mon Jun 23 11:10:09 EDT 2003


On Mon, Jun 23, 2003 at 04:40:24PM +0200, Sebastian Tusk wrote:
> Hi,
> 
> i have a problem with the following code snippet.

I can reproduce some sort of memory leak here too, running 2.2.2-26 as
packaged for RedHat 9.  Note that the seemingly equivalent
    python -c "while 1: import string"
doesn't leak... implying the problem is with PyRun_SimpleString, not
import.

Jeff





More information about the Python-list mailing list