Dear Jythoners,
 
If I create in several threads different PythonInterpreter
 
Thread1
 
    PythonInterpreter py = new PythonInterpreter();
    py.setOut(stream1);
    py.exec("print 'hi 1'");
 
 
Thread2
 
    PythonInterpreter py = new PythonInterpreter();
    py.setOut(stream2);
    py.exec("print 'hi 2'");
 
The result is that both messages a printed to stream1, instead of separated streams.
Is PySystemState shared between all threads?.
Any hint will be greatly appreciated.
 
Regards,
David