← Back to team overview

agesys-dev team mailing list archive

[Bug 1067767] Re: py3k branch does not work with python 3.3

 

The attached patch contains a regenerated oursqlx/oursql.c file using
Cython. This seems to fix the problem.

** Patch added: "patch-oursqlx-oursql.c.diff"
   https://bugs.launchpad.net/oursql/+bug/1067767/+attachment/3796618/+files/patch-oursqlx-oursql.c.diff

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/1067767

Title:
  py3k branch does not work with python 3.3

Status in oursql:
  New

Bug description:
  I upgraded to Python 3.3, now oursql stopped working:

  Python 3.3.0 (default, Sep 29 2012, 15:50:43)
  [GCC 4.7.1 20120721 (prerelease)] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import oursql
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "oursql.pyx", line 52, in init oursql (oursqlx/oursql.c:23138)
  ValueError: level must be >= 0

  MySQL 5.5.28, oursql 0.9.3 (py3k branch)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/1067767/+subscriptions


References