[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE PyConsole.py,1.7,1.8

Jack Jansen jackjansen@users.sourceforge.net
Sat, 25 Aug 2001 05:09:36 -0700


Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv20897/Python/Mac/Tools/IDE

Modified Files:
	PyConsole.py 
Log Message:
Import the MacOS toolbox modules from the Carbon package.

Index: PyConsole.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PyConsole.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** PyConsole.py	2001/08/06 11:12:18	1.7
--- PyConsole.py	2001/08/25 12:09:34	1.8
***************
*** 1,8 ****
  import W
  import Wkeys
! import Fm
  import WASTEconst
  from types import *
! import Events
  import string
  import sys
--- 1,8 ----
  import W
  import Wkeys
! from Carbon import Fm
  import WASTEconst
  from types import *
! from Carbon import Events
  import string
  import sys
***************
*** 10,14 ****
  import MacOS
  import MacPrefs
! import Qd
  import PyInteractive
  
--- 10,14 ----
  import MacOS
  import MacPrefs
! from Carbon import Qd
  import PyInteractive
  
***************
*** 179,183 ****
  	
  	def clearbuffer(self):
! 		import Res
  		self.consoletext.ted.WEUseText(Res.Resource(''))
  		self.consoletext.write(sys.ps1)
--- 179,183 ----
  	
  	def clearbuffer(self):
! 		from Carbon import Res
  		self.consoletext.ted.WEUseText(Res.Resource(''))
  		self.consoletext.write(sys.ps1)
***************
*** 327,331 ****
  	
  	def clearbuffer(self):
! 		import Res
  		self.w.outputtext.set('')
  	
--- 327,331 ----
  	
  	def clearbuffer(self):
! 		from Carbon import Res
  		self.w.outputtext.set('')