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

Re: Question about Python bindings

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 23 May 2008 10:42:54 -0400

David James wrote:
> That's right. When you call a Subversion function from Python, a
> reference-counted pool is created. You can refer to this pool from
> within SWIG typemap code using "_global_pool" or "_global_py_pool".
> When all of the references to this pool have gone out of scope, the
> pool is destroyed by the "__del__" method on the pool object.

All well and good but both the Perl and Ruby bindings reference
"_global_pool" and what you cite is only implemented for Python. And
why do the Python bindings sometimes reference "_global_pool" and
"_global_py_pool" and other times only "_global_pool"...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-23 16:43:10 CEST

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