[Python-Dev] builtin_id() returns negative numbers

Armin Rigo arigo at tunes.org
Thu Feb 17 19:11:19 CET 2005

Hi Tim,

On Mon, Feb 14, 2005 at 10:41:35AM -0500, Tim Peters wrote:
>         # This is a puzzle:  there's no way to know the natural width of
>         # addresses on this box (in particular, there's no necessary
>         # relation to sys.maxint).

Isn't this natural width nowadays available as:

    256 ** struct.calcsize('P')



More information about the Python-Dev mailing list