Will MySQL ever be supported for Python 3.x?
Jason
jason at deadtreepages.com
Mon Apr 2 11:44:44 EDT 2012
On Sunday, April 1, 2012 1:54:14 AM UTC-4, Tim Roberts wrote:
> John Nagle <nagle at animats.com> wrote:
>
> >On 3/30/2012 2:32 PM, Irmen de Jong wrote:
> >> Try Oursql instead http://packages.python.org/oursql/
> >> "oursql is a new set of MySQL bindings for python 2.4+, including python 3.x"
> >
> > Not even close to being compatible with existing code. Every SQL
> >statement has to be rewritten, with the parameters expressed
> >differently. It's a good approach, but very incompatible.
>
> Those changes can be automated, given an adequate editor. "Oursql" is a
> far better product than the primitive MySQLdb wrapper. It is worth the
> trouble.
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
Is OurSQL still active?
I had problems with it because it couldn't handle MySQL's zeroed dates, but the latest release seems to be patched now (applied a year after the bug was reported with a small patch to fix it).
-- Jason
More information about the Python-list
mailing list