Closed
Description
I don't do 64bits. 32 bits should be enough if not for everyone, then at least for peaceful users, right? So, I never paid that much attention to the fact that Linux using LP64 memory model, where int is still 32 bits. So, uPy wants sizeof(integer type) == sizeof(void*) and defines machine_int_t. That's what stored in uPy objects then. But uPy still uses int everywhere, which is ~ incorrect, as may lead to overflow (unless it's done in covert careful manner which I missed from random grep). Ok, so solution would seem simple: just use machine_int_t everywhere. But! libc functions still take/return ints, so don't allow to use full range of uPy values.
What are guidelines on dealing with this?