Message1307

Author carmeloscala
Recipients
Date 2006-11-27.14:36:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Multiple InteractiveInterpreter share same setErr/Out

I have got few threads that use an Interactive Interpreter to create a sort of shell.
Looks perfectly working except for the setErr/Out.
All the interpreters will redirect the output to the last created shell - the last one actually calling the set call :-(

At the moment i have solved the problem using PythonInterpreter with a separate pysystemstate.

As Charlie Groves suggested InteractiveInterpreter should grow a third constructor that takes a PySystemState and pass it to the super constructor.
History
Date User Action Args
2008-02-20 17:17:36adminlinkissue1603747 messages
2008-02-20 17:17:36admincreate