Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1439
Modified Files:
Tag: py3k
odbc.cpp
Log Message:
PyObject_CheckReadBuffer crashes in 3.0rc1, use PyObject_CheckBuffer for now
Index: odbc.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/odbc.cpp,v
retrieving revision 1.20.2.7
retrieving revision 1.20.2.8
diff -C2 -d -r1.20.2.7 -r1.20.2.8
*** odbc.cpp 17 Sep 2008 03:17:42 -0000 1.20.2.7
--- odbc.cpp 28 Sep 2008 16:37:50 -0000 1.20.2.8
***************
*** 1120,1124 ****
else if (PyBuffer_Check(item))
#else
! else if (PyObject_CheckReadBuffer(item))
#endif
{
--- 1120,1124 ----
else if (PyBuffer_Check(item))
#else
! else if (PyObject_CheckBuffer(item))
#endif
{
|