I've added patch #1731330 to fix a missing Py_DECREF in pysqlite_cache_display. I've attached the diff to this email.
I haven't actually been able to test this - haven't been able to get pysqlite compiled here on cygwin yet. I just noticed it when taking an example of using PyObject_Print ...
Cheers,
Tim Delaney
On 6/5/07, Tim Delaney tcdelaney@optusnet.com.au wrote:
I've added patch #1731330 to fix a missing Py_DECREF in pysqlite_cache_display. I've attached the diff to this email.
I haven't actually been able to test this - haven't been able to get pysqlite compiled here on cygwin yet. I just noticed it when taking an example of using PyObject_Print ...
Committed revision 55783.
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
On 06/06/07, Guido van Rossum guido@python.org wrote: >
On 6/5/07, Tim Delaney tcdelaney@optusnet.com.au wrote:
I've added patch #1731330 to fix a missing Py_DECREF in pysqlite_cache_display. I've attached the diff to this email.
I haven't actually been able to test this - haven't been able to get pysqlite compiled here on cygwin yet. I just noticed it when taking an example of using PyObject_Print ...
Committed revision 55783.
Thanks. I've added a comment that it also needs to be applied to p3yk.
I've done a quick seach for other places with the same code, on the off-chance that it was copied from elsewhere. Didn't turn up any other cases.
Tim Delaney