This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author caglar10ur
Recipients caglar10ur
Date 2009-09-08.19:10:38
SpamBayes Score 0.0003209293
Marked as misclassified No
Message-id <1252437042.03.0.0223574441717.issue6865@psf.upfronthosting.co.za>
In-reply-to
Content
Fix refcounting problem which causes a segfault for following test code;

--------------------------------------------------------
#include <python2.5/Python.h>

int main(void)
{
    int i;
    for (i = 0; i < 1000; ++i)
    {
        Py_Initialize();
        PyRun_SimpleString("import pwd\n");
        Py_Finalize();
    }
    return 0;
}
--------------------------------------------------------

Reported-by: Onur Küçük <onur@pardus.org.tr>
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
History
Date User Action Args
2009-09-08 19:10:42caglar10ursetrecipients: + caglar10ur
2009-09-08 19:10:42caglar10ursetmessageid: <1252437042.03.0.0223574441717.issue6865@psf.upfronthosting.co.za>
2009-09-08 19:10:40caglar10urlinkissue6865 messages
2009-09-08 19:10:39caglar10urcreate