[pywin32-checkins] pywin32/com/win32com/servers test_pycomtest.py,1.10,1.11
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-02-13 01:23:58
|
Update of /cvsroot/pywin32/pywin32/com/win32com/servers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16297/win32com/servers Modified Files: test_pycomtest.py Log Message: Fix some errors when attempting to use integer values > sys.maxint - both when the VT is unknown, and when the VT is explicitly VT_UI4. Also catch int conversion errors in the universal gateway. Index: test_pycomtest.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/servers/test_pycomtest.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** test_pycomtest.py 27 Jun 2005 11:02:41 -0000 1.10 --- test_pycomtest.py 13 Feb 2006 01:23:48 -0000 1.11 *************** *** 128,134 **** def LongProp(self): ! return self.intval def SetLongProp(self, val): ! self.intval = val def IntProp(self): return self.intval --- 128,138 ---- def LongProp(self): ! return self.longval def SetLongProp(self, val): ! self.longval = val ! def ULongProp(self): ! return self.ulongval ! def SetULongProp(self, val): ! self.ulongval = val def IntProp(self): return self.intval |