| Issue 132: | v31 branch won't build on Python 3.1.2 | |
| 2 people starred this issue and may be notified of changes. | Back to list |
When building v31 branch for Python 3.1.2 on Mac OS X 10.5.8, the following error occurs:
mkleehammer-pyodbc-3d7ddc4/src/row.cpp:337: error: invalid conversion from ‘PyObject* (*)(PyObject*, Py_ssize_t, Py_ssize_t)’ to ‘void*’
This is due to changes in Python 3's PySequenceMethods type (e.g. see discussion at:
http://www.mail-archive.com/cython-dev@codespeak.net/msg03385.html
Patch attached.
Nov 20, 2010
Project Member
#1
mkleehammer
Status:
Accepted
Nov 21, 2010
(No comment was entered for this change.)
Labels:
Python3
Nov 21, 2010
Workaround in 3.1.1-beta04 I've temporarily disabled slice assignment in Python 3 until I determine the correct way to port the functionality from 2 to 3.
Labels:
-Priority-Medium Priority-Low
Aug 20, 2011
Where do we find this 3.1.1-beta 4?
Sep 7, 2011
Hi, where shall I find the pyodbc for python 3.1.4
Oct 29, 2011
Hi, I uploaded a patch to issue #201 that could work as a workaround in the mean time.
Dec 26, 2011
Python 2 & 3 are now built from the same source using the 'master' branch.
Status:
Complete
|