[Idle-dev] CVS: idle PyShell.py,1.12,1.13

Stephen M. Gava elguavas@users.sourceforge.net
Tue, 26 Mar 2002 16:51:55 -0800


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv18908

Modified Files:
	PyShell.py 
Log Message:
_finally_ tracked down and eliminated a major problem
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py


Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** PyShell.py	2 Mar 2002 07:16:21 -0000	1.12
--- PyShell.py	27 Mar 2002 00:51:53 -0000	1.13
***************
*** 741,748 ****
          flist = PyShellFileList(root)
  
!         dbg=OnDemandOutputWindow(flist)
!         dbg.set_title('IDLE Debugging Messages')
!         sys.stdout = PseudoFile(dbg,['stdout'])
!         sys.stderr = PseudoFile(dbg,['stderr'])
          
          try:
--- 741,751 ----
          flist = PyShellFileList(root)
  
!         # 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: