On Wed, Dec 7, 2011 at 4:14 AM, Vinay Sajip <vinay_sa...@yahoo.co.uk> wrote:

> On Dec 7, 5:53 am, Ian Clelland <clell...@gmail.com> wrote:
> > On Tuesday, December 6, 2011, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> > > itertools.izip_longest was added in Python 2.6, though, so a
> > > compatibility function is needed for Python 2.5.
> >
> > Ahh, that's a good catch. I'll have to make use of your solution, then.
> >
>
> I've already pulled Ian Kelly's changes from his BitBucket repo. Which
> MySQL driver are you using for Python 3? I started looking at
>
> git://github.com/davispuh/MySQL-for-Python-3.git
>
> but it appears to expect queries formatted with {} rather than %s, so
> it doesn't seem that I can use it.
>

I'm using PyMySQL (https://github.com/petehunt/PyMySQL) -- it's almost a
drop-in replacement for MySQLdb. The biggest change is in the data
converters -- they have a different function signature from MySQLdb's.

I have had to make a couple of patches to the library, which I hope to get
applied upstream, otherwise it's working pretty well, so far.

I'm down to four failures and one error now -- I'll post back once those
are done, with a set of patches, hopefully.

Ian


>
> Regards,
>
> Vinay Sajip
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-developers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>


-- 
Regards,
Ian Clelland
<clell...@gmail.com>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to