Sure, that's what i'll do for now. Its an ok workaround for me, I was just posting to support the
notion that its a bug (lets call it usability bug) and something that people out there do run into.

There's also a scenerio where you couldn't use this workaround - for example use a library
precompiled in a pyd..

On Wed, Aug 18, 2010 at 6:13 PM, Ray.Allen <report@bugs.python.org> wrote:

Ray.Allen <ysj.ray@gmail.com> added the comment:

How about calling gc.collect() explicitly in the loop?

----------
nosy: +ysj.ray

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue1524938>
_______________________________________