[pywin32-checkins] pywin32/wince/Lib ceshell.py,1.3,1.3.4.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 09:03:34
|
Update of /cvsroot/pywin32/pywin32/wince/Lib In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20331/wince/Lib Modified Files: Tag: py3k ceshell.py Log Message: many more upgrades to py3k syntax Index: ceshell.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/wince/Lib/ceshell.py,v retrieving revision 1.3 retrieving revision 1.3.4.1 diff -C2 -d -r1.3 -r1.3.4.1 *** ceshell.py 8 Jul 2001 05:10:09 -0000 1.3 --- ceshell.py 26 Nov 2008 09:03:31 -0000 1.3.4.1 *************** *** 106,110 **** def __del__(self): ! print "InteractiveManager dieing" def write(self, text): --- 106,110 ---- def __del__(self): ! print("InteractiveManager dieing") def write(self, text): *************** *** 409,414 **** try: file = open(fname, mode) ! except IOError, (code, why): ! print "python: can't open %s: %s\n" % (fname, why) bKeepOpen = 1 file = None --- 409,415 ---- try: file = open(fname, mode) ! except IOError as xxx_todo_changeme: ! (code, why) = xxx_todo_changeme.args ! print("python: can't open %s: %s\n" % (fname, why)) bKeepOpen = 1 file = None |