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

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

From: André Malo <nd_at_perlig.de>
Date: 2005-10-28 21:43:37 CEST


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.


> Rätselnd, was ein Anthroposoph mit Unterwerfung zu tun hat...
[...] Dieses Wort gibt so viele Stellen für einen Spelling Flame her, und
Du gönnst einem keine einzige.    -- Jean Claude und David Kastrup in dtl

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Oct 28 21:44:29 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.