quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Blanquet" <lblanq...@b2btechno.net>
Subject Re: 3.2.8 - Memory leaks with util.FieldStorage
Date Mon, 12 Jun 2006 05:56:12 GMT
Hello,

I've run the 2 tests, and I do not see any leaks.

Laurent.

> Laurent,
> 
> Could you run a couple of more tests?
> 
> test1.py
> --------
> from mod_python import apache, util
> 
> def handler(req):
>      pqs = util.parse_qsl('foo=a&bar=b')
>      req.content_type = 'text/plain'
>      req.write('mod_python.util.parse_qsl')
>      return apache.OK
> 
> test2.py
> --------
> from mod_python import apache
> import cgi
> 
> def handler(req):
>      pqs = cgi.parse_qsl('foo=a&bar=b')
>      req.content_type = 'text/plain'
>      req.write('cgi.parse_qsl')
>      return apache.OK
> 
> 
> Jim


Mime
View raw message