A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-July/145692.html below:

[Python-Dev] Convert from unsigned long long to PyLong

[Python-Dev] Convert from unsigned long long to PyLong [Python-Dev] Convert from unsigned long long to PyLongMRAB 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
> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number> is
> 2^53 -1.
>
[snip]
JSON itself doesn't put a limit on the size of integers.

That link is about how JavaScript handles JSON.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4