Merge r1889487 from trunk: * r1889487 swig-py: Fix doubly destroying memory pool with cyclic garbage collector. Votes: +1: jun66j5, futatuki