[pywin32-checkins] pywin32/com/win32com/src univgw_dataconv.cpp,1.6,1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-12-14 10:19:45
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26644 Modified Files: univgw_dataconv.cpp Log Message: When univgw can't convert a variant, indicate the VT in the exception. Index: univgw_dataconv.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/univgw_dataconv.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** univgw_dataconv.cpp 8 Nov 2003 00:34:32 -0000 1.6 --- univgw_dataconv.cpp 14 Dec 2004 10:19:35 -0000 1.7 *************** *** 584,588 **** // could try default, but this error indicates we need to // beef up the VARIANT support, rather than default. ! PyErr_SetString(PyExc_TypeError, "The VARIANT type is unknown."); goto Error; } --- 584,589 ---- // could try default, but this error indicates we need to // beef up the VARIANT support, rather than default. ! PyErr_Format(PyExc_TypeError, "The VARIANT type is unknown (0x%x).", ! vtArgType); goto Error; } |