/[Apache-SVN]
ViewVC logotype

Revision 1889487


Jump to revision: Previous Next
Author: jun66j5
Date: Tue May 4 13:53:04 2021 UTC (2 years, 11 months ago)
Changed paths: 2
Log Message:
swig-py: Fix doubly destroying memory pool because weakref's callback is not
invoked when it is finalized by cyclic garbage collector.

See also https://bugs.python.org/issue40312 for weakref's callbacks during
garbage collection.

* subversion/bindings/swig/include/proxy_apr.swg
  (apr_pool_t.valid): Check whether parent pool is valid.

* subversion/bindings/swig/python/tests/pool.py
  (PoolTestCase): Add tests for pools referred from circular reference.


Changed paths

Path Details
Directorysubversion/trunk/subversion/bindings/swig/include/proxy_apr.swg modified , text changed
Directorysubversion/trunk/subversion/bindings/swig/python/tests/pool.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26