mirror of https://github.com/python/cpython
_finally_ tracked down and eliminated a major problem
in PyShell.py that was causing extreme headaches in working on EditorWindow.py
This commit is contained in:
parent
4e526feb6a
commit
cedd30b030
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue