DebugClientBase: fixed an issue using input() on Python3 without redirecting stdin.

Mon, 17 Feb 2020 19:20:43 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 17 Feb 2020 19:20:43 +0100
changeset 7423
9758025d7225
parent 7414
d02ed92ef3b2
child 7425
bd0eff406c6b

DebugClientBase: fixed an issue using input() on Python3 without redirecting stdin.

eric6/DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/eric6/DebugClients/Python/DebugClientBase.py	Sat Feb 15 12:05:00 2020 +0100
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Mon Feb 17 19:20:43 2020 +0100
@@ -93,11 +93,11 @@
 else:
     try:
         DebugClientOrigInput = __builtins__.__dict__['input']
-        __builtins__.__dict__['input'] = DebugClientRawInput
+        __builtins__.__dict__['input'] = DebugClientInput
     except (AttributeError, KeyError):
         import __main__
         DebugClientOrigInput = __main__.__builtins__.__dict__['input']
-        __main__.__builtins__.__dict__['input'] = DebugClientRawInput
+        __main__.__builtins__.__dict__['input'] = DebugClientInput
 
 ###############################################################################
 

eric ide

mercurial