Update of /usr/cvs/Public/pygresql/module
In directory druid.net:/tmp/cvs-serv3980
Modified Files:
pgmodule.c
Log Message:
We don't need to support Py 1.x here.
To see the diffs for this commit:
http://www.druid.net/pygresql/viewcvs.cgi/cvs/pygresql/module/pgmodule.c.diff?r1=1.81&r2=1.82
Index: pgmodule.c
===================================================================
RCS file: /usr/cvs/Public/pygresql/module/pgmodule.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- pgmodule.c 31 Oct 2008 21:13:19 -0000 1.81
+++ pgmodule.c 1 Nov 2008 18:15:53 -0000 1.82
@@ -1,5 +1,5 @@
/*
- * $Id: pgmodule.c,v 1.81 2008/10/31 21:13:19 darcy Exp $
+ * $Id: pgmodule.c,v 1.82 2008/11/01 18:15:53 cito Exp $
* PyGres, version 2.2 A Python interface for PostgreSQL database. Written by
* D'Arcy J.M. Cain, ([EMAIL PROTECTED]). Based heavily on code written by
* Pascal Andre, [EMAIL PROTECTED] Copyright (c) 1995, Pascal Andre
@@ -42,11 +42,6 @@
#include <Python.h>
-/* PyObject_Del does not exist in older versions of Python: */
-#if PY_VERSION_HEX < 0x01060000
-#define PyObject_Del(op) PyMem_DEL((op))
-#endif
-
static PyObject *Error, *Warning, *InterfaceError,
*DatabaseError, *InternalError, *OperationalError, *ProgrammingError,
*IntegrityError, *DataError, *NotSupportedError;
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql