Message1307
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.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:36 | admin | link | issue1603747 messages |
2008-02-20 17:17:36 | admin | create | |
|