diff options
author | Steven M. Gava <elguavas@python.net> | 2002-03-27 00:51:53 (GMT) |
---|---|---|
committer | Steven M. Gava <elguavas@python.net> | 2002-03-27 00:51:53 (GMT) |
commit | cedd30b030d8424e5f4de9f5fa2fdf14a3a702b7 (patch) | |
tree | 45a0f3a2ab851ca76052cc1f61652eef839c89b2 | |
parent | 4e526feb6a6f5ab9893df8ac000edc90890eece0 (diff) | |
download | cpython-cedd30b030d8424e5f4de9f5fa2fdf14a3a702b7.zip cpython-cedd30b030d8424e5f4de9f5fa2fdf14a3a702b7.tar.gz cpython-cedd30b030d8424e5f4de9f5fa2fdf14a3a702b7.tar.bz2 |
_finally_ tracked down and eliminated a major problem
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py
-rw-r--r-- | Lib/idlelib/PyShell.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index fa4bb3d..9616e35 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -740,10 +740,13 @@ class main: root.withdraw() flist = PyShellFileList(root) - dbg=OnDemandOutputWindow(flist) - dbg.set_title('IDLE Debugging Messages') - sys.stdout = PseudoFile(dbg,['stdout']) - sys.stderr = PseudoFile(dbg,['stderr']) + # the following causes lockups and silent failures when debugging + # changes to EditorWindow.__init__ ; the console works fine for idle + # debugging in any case, so disable this unnescesary stuff. + #dbg=OnDemandOutputWindow(flist) + #dbg.set_title('IDLE Debugging Messages') + #sys.stdout = PseudoFile(dbg,['stdout']) + #sys.stderr = PseudoFile(dbg,['stderr']) try: self.server = protocol.Server(connection_hook = self.address_ok) |