[issue3328] When PyObject_CallMethod fails, refcount is incorrect

Dominic Lavoie report at bugs.python.org
Wed Jul 9 20:42:04 CEST 2008


Dominic Lavoie <dominic.lavoie at paraxip.com> added the comment:

OK, I have been able to reproduce the problem with a simple test 
program. All you have to do is compile issue328.c and run it. 
issue328.py compiles an invalid regexp. You will see that the refcount 
goes from 1 to 2 if the regexp compilation fails but stays constant if 
the regexp compilation is successful.

Added file: http://bugs.python.org/file10871/issue3328.zip

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3328>
_______________________________________


More information about the Python-bugs-list mailing list