A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-November/018355.html below:

[Python-Dev] Memory leaks and uninitialized memory

[Python-Dev] Memory leaks and uninitialized memory [Python-Dev] Memory leaks and uninitialized memoryNeal Norwitz neal@metaslash.com
Sun, 04 Nov 2001 12:04:40 -0500
Fredrik Lundh wrote:

> I'm a bit puzzled over your proposed SRE patch.
> 
> the patch changes
> 
>         return PyString_FromString("");
> 
> to
> 
>         result = PyString_FromString("");
>         Py_INCREF(result);
>         return result;
> 
> in other words, if there's a bug somewhere, I'm not sure it's in
> SRE.

Hmmm, I thought that patch looked a bit suspect.  I backed out this patch,
then reran all the tests (143 of them) that this patch should have addressed.  
Nothing new was reported.  So this patch must have been something 
I was playing with, but isn't correct.

You can (try to) close this bug in SF.  If I find a problem, I'll submit
a better patch.

Neal



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4