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/2007-February/071300.html below:

[Python-Dev] Py_ssize_t

[Python-Dev] Py_ssize_t [Python-Dev] Py_ssize_tGuido van Rossum guido at python.org
Tue Feb 20 19:35:57 CET 2007
On 2/20/07, Tim Peters <tim.peters at gmail.com> wrote:
> In any case, hash codes are defined to be of type "long" in the C API,
> so there appears no painless way to boost their size on boxes where
> sizeof(Py_ssize_t) > sizeof(long).

But that would only be on Windows; I believe other vendors have a
64-bit long on 64-bit machines.

I suppose the pain wouldn't be any greater than the pain of turning
int into Py_ssize_t. Perhaps less so in Py3k since there the issue
that PyInt only holds a C long is solved (by equating it to PyLong :).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
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