Um? *boggle* Silly question about listobject.c

Courageous jkraska1 at san.rr.com
Sun Jun 4 16:31:47 EDT 2000


> int main(void)
> {
>   printf("%d %d %d\n",sizeof(short),sizeof(int),INT_MAX);
>   return 0;
> }
> -- EOF --
> 
> (0;0)13.SRam:> spam
> 2 2 32767
> 
> (Ok, I admit using a switch to get short==int ;-)

:)

I'm so used to using long when I mean 32 bits, I'd actually
forgotten that int was 32 bits most of the time. Forgetting
simple things like this can make you feel realy dumb. :)-


C/



More information about the Python-list mailing list