Re: [PATCH] [python-bindings] make svn.core reload-safe
On 10/28/05, AndrÃ© Malo <firstname.lastname@example.org> wrote:
> 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.
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