[Python-3000] sizeof(size_t) < sizeof(long)

Antoine Pitrou solipsis at pitrou.net
Tue Apr 15 11:26:49 CEST 2008


Mark Dickinson <dickinsm <at> gmail.com> writes:
> Fair enough.  My twisted mind was trying to find ways that size_t
> might be something other than long or long long, but that
> seems unlikely...

There has been a report where sizeof(size_t) < sizeof(long). It breaks things in
the dict implementation:
http://bugs.python.org/issue1646068

« On the system I'm porting to, ints and pointers (and ssize_t) are 32-bit, but
longs and long longs are 64-bit. »





More information about the Python-3000 mailing list