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

Re: [PATCH] Pythonic Memory Pools for the Python Bindings

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-07-19 02:54:39 CEST

David James wrote:

>> Do the python level wrappers for the C level objects hold a
>>reference to the pool to keep that from happening or something?
> I'd love to do that! Any ideas on how I could implement it?

Not a clue! ;-)

In theory I imagine the python wrappers for each C level object would do
an "incrememnt reference count" on the pool's wrapper object in their
constructor and a "decrement reference count" in their destructor, but
my knowledge of python extension programming is virtually nil, so I have
no idea how this would actually be done.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 19 03:34:39 2005

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.