Skip to content

Commit 0c9a8ef

Browse files
committed
Fixes #1070 Cannot debug script that uses colorama
Adds closed attribute to repl output.
1 parent 99a098f commit 0c9a8ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/Product/PythonTools/visualstudio_py_repl.py

+1
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ def check_for_exit_execution_loop(self):
11691169
class _ReplOutput(object):
11701170
"""file like object which redirects output to the repl window."""
11711171
errors = None
1172+
closed = False
11721173

11731174
def __init__(self, backend, is_stdout, old_out = None):
11741175
self.name = "<stdout>" if is_stdout else "<stderr>"

0 commit comments

Comments
 (0)