[Python-Dev] Convert from unsigned long long to PyLong
python at mrabarnett.plus.com
Sat Jul 23 11:58:35 EDT 2016
On 2016-07-23 05:23, Tian JiaLin wrote:
> Hey Guys,
> I found the mistake I made, basically I'm using a tool called Sentry to
> capture the exceptions.
> The value returned from the Python is 2^64-1, which is -1
> from mysql_affected_rows.
> Sentry is using JSON format as the a kind of storage, apparently the MAX
> SAFE INTEGER
> 2^53 -1.
JSON itself doesn't put a limit on the size of integers.
More information about the Python-Dev