Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17560
Modified Files:
Tag: py3k
__init__.py default.cfg
Log Message:
Changes for Python 3
Index: default.cfg
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/default.cfg,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -C2 -d -r1.9 -r1.9.2.1
*** default.cfg 11 Aug 2008 00:49:01 -0000 1.9
--- default.cfg 29 Aug 2008 06:16:06 -0000 1.9.2.1
***************
*** 197,202 ****
find.lastSearch.findText = word
find.lastSearch.sel = (start,end)
! except Exception, why:
! print repr(why), why
find.FindNext()
--- 197,202 ----
find.lastSearch.findText = word
find.lastSearch.sel = (start,end)
! except Exception as why:
! print (repr(why), why)
find.FindNext()
Index: __init__.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/__init__.py,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -C2 -d -r1.4 -r1.4.4.1
*** __init__.py 26 Jan 2004 04:09:13 -0000 1.4
--- __init__.py 29 Aug 2008 06:16:06 -0000 1.4.4.1
***************
*** 1,5 ****
# See if we run in Unicode mode.
# This may be referenced all over the place, so we save it globally.
! import win32api, win32con, __builtin__
# This doesn't seem to work correctly on NT - see bug 716708
--- 1,5 ----
# See if we run in Unicode mode.
# This may be referenced all over the place, so we save it globally.
! import win32api, win32con, builtins
# This doesn't seem to work correctly on NT - see bug 716708
***************
*** 9,11 ****
default_scintilla_encoding = "utf-8" # Scintilla _only_ supports this ATM
! del win32api, win32con, __builtin__
--- 9,11 ----
default_scintilla_encoding = "utf-8" # Scintilla _only_ supports this ATM
! del win32api, win32con, builtins
|