Dominic Lavoie <[EMAIL PROTECTED]> 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
Dominic Lavoie <[EMAIL PROTECTED]> added the comment:
My application is fairly complex so I am currently trying to build a simple
test case that reproduces the problem. Will let you know as soon as it is ready.
Regards,
Dominic
___
Python tracker &
New submission from Dominic Lavoie <[EMAIL PROTECTED]>:
This issue is similar to issue 1229429. In the called Python method, a
regular expression fails to compile & PyEval_CallMethod() returns 0.
However, the reference count is incremented by 1 which prevents the
object from being