Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22536

Re: Will MySQL ever be supported for Python 3.x?

From Jason <jason@deadtreepages.com>
Newsgroups comp.lang.python
Subject Re: Will MySQL ever be supported for Python 3.x?
Date 2012-04-02 08:44 -0700
Organization http://groups.google.com
Message-ID <24525317.394.1333381484289.JavaMail.geo-discussion-forums@vbtg38> (permalink)
References <jl5830$nbb$1@dont-email.me> <4f762670$0$6871$e4fe514c@news2.news.xs4all.nl> <jl59kc$cdi$1@dont-email.me> <u9rfn7t2qqgr0f8g25ddc42rsrv7qct8kp@4ax.com>

Show all headers | View raw


On Sunday, April 1, 2012 1:54:14 AM UTC-4, Tim Roberts wrote:
> John Nagle <nagle@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@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Will MySQL ever be supported for Python 3.x? John Nagle <nagle@animats.com> - 2012-03-30 14:20 -0700
  Re: Will MySQL ever be supported for Python 3.x? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2012-03-30 23:32 +0200
    Re: Will MySQL ever be supported for Python 3.x? John Nagle <nagle@animats.com> - 2012-03-30 14:46 -0700
      Re: Will MySQL ever be supported for Python 3.x? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2012-03-30 23:55 +0200
      Re: Will MySQL ever be supported for Python 3.x? Tim Roberts <timr@probo.com> - 2012-03-31 22:54 -0700
        Re: Will MySQL ever be supported for Python 3.x? John Nagle <nagle@animats.com> - 2012-04-01 23:42 -0700
        Re: Will MySQL ever be supported for Python 3.x? Jason <jason@deadtreepages.com> - 2012-04-02 08:44 -0700

csiph-web