Menu

thread_id() complains about arguments

Help
2003-12-08
2012-09-19
  • Helger Bouterse

    Helger Bouterse - 2003-12-08

    Finally I set myself to the long overdue task of upgrading from mysqldb 0.3.5 to 0.9.2.
    I was happy to find that the thread_id() method was still implemented, but somehow I keep on getting a "TypeError: function takes no arguments" when calling this method (or any other method via the cursor.connection attribute for that matter).
    I'm calling this method without any arguments and when I temporarily skip the PyArg_NoArgs() from _mysql.c everything works fine. I'm using python 2.2.1, mysqldb 0.9.2 and mysql 4.0.16. Any help is kindly appreciated.

    Helger

     
    • Andy Dustman

      Andy Dustman - 2003-12-13

      I suspect this is fixed in the 0.9.3 beta.

       
      • Helger Bouterse

        Helger Bouterse - 2003-12-16

        Thanks Andy. Indeed, 0.9.3 beta fixed all the problems.

        Regards,
        Helger

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.