Issue576190

classification
Title: setIn() on PythonInterpreter
Type: rfe Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: cgroves
Priority: normal Keywords:

Created on 2002-07-02.00:06:09 by anonymous, last changed 2008-02-09.22:29:28 by cgroves.

Messages
msg3010 (view) Author: Nobody/Anonymous (nobody) Date: 2002-07-02.00:06:09
PythonInterpreter has setOut() and setErr(), but it 
doesn't provide way to redirect stdin.  In some 
cases, in a Java program jython-embedded, users 
may need to process data in InputStream (or 
Reader, of course) with python script.  And of 
course, it is not 'may' for me.  I really need it :-)
msg3011 (view) Author: Charlie Groves (cgroves) Date: 2008-02-09.22:29:28
You should be able to set stdin on the PySystemState returned by Py.getSystemState.
History
Date User Action Args
2002-07-02 00:06:09anonymouscreate