mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
_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
1 changed files with 7 additions and 4 deletions
|
@ -740,10 +740,13 @@ class main:
|
||||||
root.withdraw()
|
root.withdraw()
|
||||||
flist = PyShellFileList(root)
|
flist = PyShellFileList(root)
|
||||||
|
|
||||||
dbg=OnDemandOutputWindow(flist)
|
# the following causes lockups and silent failures when debugging
|
||||||
dbg.set_title('IDLE Debugging Messages')
|
# changes to EditorWindow.__init__ ; the console works fine for idle
|
||||||
sys.stdout = PseudoFile(dbg,['stdout'])
|
# debugging in any case, so disable this unnescesary stuff.
|
||||||
sys.stderr = PseudoFile(dbg,['stderr'])
|
#dbg=OnDemandOutputWindow(flist)
|
||||||
|
#dbg.set_title('IDLE Debugging Messages')
|
||||||
|
#sys.stdout = PseudoFile(dbg,['stdout'])
|
||||||
|
#sys.stderr = PseudoFile(dbg,['stderr'])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.server = protocol.Server(connection_hook = self.address_ok)
|
self.server = protocol.Server(connection_hook = self.address_ok)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue