[Python-Dev] ssize_t question: longs in header files

Thomas Wouters thomas at python.org
Mon May 29 17:17:41 CEST 2006


On 5/29/06, Neal Norwitz <nnorwitz at gmail.com> wrote:

> * ints:  Include/intobject.h:    long ob_ival;


I considered asking about this before, as it would give '64-bit power' to
Win64 integers. It's a rather big change, though (lots of code assumes
PyInts fit in signed longs, which would be untrue then.)

On the other hand, if a separate type was used for PyInts (Py_pyint_t or
whatever, defaulting to long, except on LLP64 systems), EWT's request for a
64-bit integer represented by C 'long long's would be a simple configure
switch.

-- 
Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060529/5fe0e4ca/attachment.htm 


More information about the Python-Dev mailing list