]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Added some defs to the resultproxy.c extension so that
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jan 2011 20:08:41 +0000 (15:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Jan 2011 20:08:41 +0000 (15:08 -0500)
    the extension compiles and runs on Python 2.4.
    [ticket:2023]

CHANGES
lib/sqlalchemy/cextension/resultproxy.c

diff --git a/CHANGES b/CHANGES
index 15ec2f95de990c4907994f7850a9ab87f2415384..849ec820459031b356e368efb8a4b6f75142e2bd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -18,6 +18,10 @@ CHANGES
   - Column.copy(), as used in table.tometadata(), copies the 
     'doc' attribute.  [ticket:2028]
 
+  - Added some defs to the resultproxy.c extension so that
+    the extension compiles and runs on Python 2.4.
+    [ticket:2023]
+
 0.6.6
 =====
 - orm
index 93471073bcdb35e5210883bd98833fcd396438df..5af94771b7b319e2437a989e68f9edccee5428d2 100644 (file)
@@ -13,6 +13,8 @@ typedef int Py_ssize_t;
 #define PY_SSIZE_T_MAX INT_MAX
 #define PY_SSIZE_T_MIN INT_MIN
 typedef Py_ssize_t (*lenfunc)(PyObject *);
+#define PyInt_FromSsize_t(x) PyInt_FromLong(x) 
+typedef intargfunc ssizeargfunc; 
 #endif