[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: Changing intobject to use int rather than long

Terry Reedy

12/19/2007 8:16:00 PM


"Christian Heimes" <lists@cheimes.de> wrote in message
news:fkainq$61f$1@ger.gmane.org...
| Terry Reedy wrote:
| > Good idea. I think people who moved to 64 bits to get 64 bits would be
| > upset if they did not ;-).
|
| Windows X64 users still get 32bit ints. The long datatype is 32bit even
| on the 64bit version of Windows.

Yes, anyone expecting to get 64 bit ints from Windows would be upset. And
those who are getting 64 bit ints from real 64 bit OSes would be upset if
the OPs suggestion were implemented.



1 Answer

Hrvoje Niksic

12/22/2007 1:11:00 AM

0

"Terry Reedy" <tjreedy@udel.edu> writes:

> "Christian Heimes" <lists@cheimes.de> wrote in message
> news:fkainq$61f$1@ger.gmane.org...
> | Terry Reedy wrote:
> | > Good idea. I think people who moved to 64 bits to get 64 bits would be
> | > upset if they did not ;-).
> |
> | Windows X64 users still get 32bit ints. The long datatype is 32bit even
> | on the 64bit version of Windows.
>
> Yes, anyone expecting to get 64 bit ints from Windows would be
> upset.

Why? Using only 32 bits doesn't make the structure any smaller
because of pointer alignment.