[Python-checkins] CVS: python/dist/src/Tools/idle PyShell.py,1.32,1.33

Tim Peters tim_one@users.sourceforge.net
Wed, 28 Mar 2001 19:34:45 -0800


Update of /cvsroot/python/python/dist/src/Tools/idle
In directory usw-pr-cvs1:/tmp/cvs-serv16407/python/dist/src/tools/idle

Modified Files:
	PyShell.py 
Log Message:
Initialize new save_warnings_filters data member in ModifiedInterpreter.__init__.
Was getting mystery
    ModifiedInterpreter instance has no attribute 'save_warnings_filters'
errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script).


Index: PyShell.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/PyShell.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** PyShell.py	2001/03/26 17:41:35	1.32
--- PyShell.py	2001/03/29 03:34:43	1.33
***************
*** 158,161 ****
--- 158,162 ----
          locals = sys.modules['__main__'].__dict__
          InteractiveInterpreter.__init__(self, locals=locals)
+         self.save_warnings_filters = None
  
      gid = 0