[ScriptInterpreterPython] Remove buggy code to save/restore stdin.
authorDavide Italiano <ditaliano@apple.com>
Tue, 7 Apr 2020 19:41:31 +0000 (12:41 -0700)
committerDavide Italiano <ditaliano@apple.com>
Tue, 7 Apr 2020 19:43:25 +0000 (12:43 -0700)
commit30a292c25df327eb35b341b919c4e9b5e80323be
treecb17cb946f779891997be32611b4edeea1d1246c
parentf9d558c871337699d2815dbf116bae94025f5d90
[ScriptInterpreterPython] Remove buggy code to save/restore stdin.

Discussed on lldb-dev with Pavel Labath. This doesn't work for
background processes [causes Python to be stuck forever], and it's
unclear whether it's needed. There's no test, also. If this turns
out to be useful, it can be recommitted with a functional implementation
and a test.
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp