Issue1603747

classification
Title: Multiple InteractiveInterpreter share same setErr/Out
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: carmeloscala, cgroves
Priority: normal Keywords:

Created on 2006-11-27.14:36:05 by carmeloscala, last changed 2007-02-28.21:49:24 by cgroves.

Messages
msg1307 (view) Author: Carmelo (carmeloscala) Date: 2006-11-27.14:36:05
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.
msg1308 (view) Author: Charlie Groves (cgroves) Date: 2007-02-28.21:49:24
fixed in r3130
History
Date User Action Args
2006-11-27 14:36:05carmeloscalacreate