Re: Convert from unsigned long long to PyLong

2016-07-24 Thread INADA Naoki
Thank you for reporting this issue. I'll fix it in next release of mysqlclient (MySQL-python has not been maintained for these years. Please use mysqlclient. It supports Python 3.) On Fri, Jul 22, 2016 at 3:01 PM, Tian JiaLin wrote: > HI There, > > I'm using MySQLdb as the MySQL client. Recent

Re: Convert from unsigned long long to PyLong

2016-07-22 Thread MRAB
On 2016-07-22 07:01, Tian JiaLin wrote: HI There, I'm using MySQLdb as the MySQL client. Recently I got a weird problem of this library. After looking into it, I suspect the problem may related to the conversion from unsigned long to PyLongObject. Here is the detail, If you are familiar with

Convert from unsigned long long to PyLong

2016-07-21 Thread Tian JiaLin
HI There, I'm using MySQLdb as the MySQL client. Recently I got a weird problem of this library. After looking into it, I suspect the problem may related to the conversion from unsigned long to PyLongObject. Here is the detail, If you are familiar with MySQLdb, the following snippet is a way t