On Thu, Dec 8, 2011 at 7:46 AM, Ian Clelland <clell...@gmail.com> wrote:
> > > On Thursday, December 8, 2011, Jens Diemer <python_gm...@jensdiemer.de> > wrote: > > Am 07.12.2011 21:38, schrieb Ian Clelland: > >> > >> PyMySQL is a pure python implementation of PEP 249 for MySQL, and > supports > >> Python 2.4 - 3.2, and MySQL 4.1 and higher. > > > > Another goal of PyMySQL would be to use Django + MySQL with PyPy, isn't > it? > > > > You know, I hadnt thought of it, but that would definitely go a long way > towards making that possible! > > Ill see if I can polish up a proposal for splitting up the backend code > into SQL and driver code, but I'll try to get a separate pymysql backend up > in a repository somewhere for people to try out as well. There is now a PyMySQL backend available on Github -- https://github.com/clelland/django-mysql-pymysql It leverages a lot of the code in django.db.backends.mysql; importing it where it can, and duplicating it where it has to. I hope to have a proposal by the weekend for splitting out the database adapter code from the backends, and then this project can get a lot lighter :) If you use my patches to PyMySQL, at https://github.com/clelland/PyMySQL, then the full django unit test suite (from trunk) will pass under Python 2.6.7. There are some character set handling issues with the upstream version at the moment. (And at this point, I'm veering dangerously close to django-users territory; If needed, I'll continue this thread with an announcement there) -- 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.