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

Re: [PATCH] [python-bindings] make svn.core reload-safe

From: David James <james82_at_gmail.com>
Date: 2005-10-28 23:27:00 CEST

On 10/28/05, André Malo <nd@perlig.de> wrote:
> Hi,
>
> If one reloads svn.core (I'm doing this for my unit tests), the atexit pool
> destruction handler may crash, because _core may be already None or
> application_pool may be None or the pool may have been destroyed already.
> The attached patch fixes this.
>
> [[[
> * subversion/bindings/swig/python/svn/core.py
> (global): Fix atexit handler to destroy application_pool only once and to
> not depend on the existance of the _core import.
> ]]]
>
> It would be nice, if this could make it into the final 1.3 release.
Andre, thanks for your patch! I've applied it with a few tweaks in
r17082 and proposed it for backport to the 1.3.x branch.

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
Received on Fri Oct 28 23:27:54 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.