Philosophical long integer question...

Ralf Muschall rmuschall.fih at t-online.de
Thu Mar 30 16:12:07 EST 2000


Brian Kelley wrote:

> should (1 << 1000) produce a long int?  (It currently produces 0 on a

IMHO it should if and only if everything else promotes as
well. In that case, it would be nice to have standard types
(e.g. classes that come with the libs) like int8, int16,
int32, int64, uint8, ... which behave like their names
indicate (e.g. for hacking crypto stuff).

Ralf



More information about the Python-list mailing list