[Python-Dev] signed - unsigned - big troubles 2.4a2

Grzegorz Makarewicz mak at trisoft.com.pl
Fri Aug 6 10:09:04 CEST 2004


Many python programmas are relaying on computer int size - in prior 
versions bitnees is 32 long - now smoething happens and signed/unsigned 
value is not 32 bit long int but unsigned long int or even better 
unsigned uint64

consider that:
	a = ord(data[i]) .. data[i+4] - value is int or int64, signed or unsigned ?

0xf.. in prior versions up to 2.4.a2 int was used as signed value, now 
it is unsigned int64, so my question how to create signed int32 ?

mak



More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant