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/2009-November/093522.html below:

[Python-Dev] Integer behaviour in Python 2.6.4

[Python-Dev] Integer behaviour in Python 2.6.4 [Python-Dev] Integer behaviour in Python 2.6.4Sturla Molden sturla at molden.no
Mon Nov 2 05:21:06 CET 2009
Curt Hagenlocher skrev:
> Does that not happen on non-Windows platforms? 2**31 can't be
> represented as a 32-bit signed integer, so it's automatically promoted
> to a long.
>
>   
Yes you are right.

I've now traced down the problem to an integer overflow in NumPy.

It seems to have this Pyrex code:

cdef long lo, hi, diff
[...]
diff = hi - lo - 1

:-D


Sturla


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