hex and unsigned longs

Greg Ewing (using news.cis.dfn.de) ckea25d02 at sneakemail.com
Mon Apr 14 08:05:13 CEST 2003

Dennis Lee Bieber wrote:
>         Since longs have an undefined length, -1L would, to be "unsigned", be 
> represented by an infinite number of FFFFs.

When ints and longs become fully unified, presumably
hex() will have to always return signed results?

Unless one of the earlier suggestions for representing
negative longs as unsigned is adopted, such as 1x...
or Fx.... :-)

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list