On Fri, Aug 16, 2013 at 2:27 PM, Jordi Domingo <jordi.domingo@blueliv.com> wrote:
Hi Jim,

Thanks a lot for your help. Unfortunately we dont have a reproducible test case right now.

No problem, from everything you described, you are running up against a limitation of the PEP 342 specification as it works on nondeterministic GC.

Is it possible to close the generator from Java, once the script is completed?

So long as you have a reference to the generator, you can certainly call close on it from Java. Simply look at PyGenerator for the specific signature.

- Jim