[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH/RFC] Fix refcount on some Python callbacks

From: Martin von Gagern <Martin.vGagern_at_gmx.net>
Date: Wed, 11 Jun 2008 22:39:03 +0200

David Glasser wrote:
> David James posted a patch to help with something similar (editors,
> not callbacks):

Comparing my approach to his, it looks to me like he would add
references to the pools while I would have added those references to
python objects. I guess the former more closely resembles the native
workings of C with APR, while the latter is more in the Python style.

> I didn't really feel qualified to know if it was the right solution
> though, and ended up dropping it.

I'm a newcomer to Python, have never really worked with APR, so I
wouldn't be "qualified" in any way either. On the other hand, I would
assume that most attempts at a fix, even if not in the best of styles,
would be better than the segmentation faults that occur now.


Received on 2008-06-11 22:39:24 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.