[issue6865] Refcount error in pwd module

2009-09-09 Thread caglar10ur

caglar10ur cag...@pardus.org.tr added the comment:

It seems Python 2.6.x also have same problem, will it be merged 
automatically (seems like svn-merge is used for this purpose) or do you 
want me to open a new bug against that version?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6865
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6865] Refcount error in pwd module

2009-09-08 Thread caglar10ur

New submission from caglar10ur cag...@pardus.org.tr:

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 o...@pardus.org.tr
Signed-off-by: S.Çağlar Onur cag...@pardus.org.tr

--
files: pwdmodule_refcount_fix.patch
keywords: patch
messages: 92425
nosy: caglar10ur
severity: normal
status: open
title: Refcount error in pwd module
type: crash
versions: Python 2.5
Added file: http://bugs.python.org/file14863/pwdmodule_refcount_fix.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6865
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com