Python 2.3.2 (#2, Oct 6 2003, 08:02:06)
>>> hex(-1)
__main__:1: FutureWarning: hex()/oct() of negative int will return a signed string in Python 2.4 and up
>>> hex(-1L)
>>> hex(0xffffffffL)
Ugh! When was the last time you wanted a signed hexadecimal output? And why is hex() of a long in uppercase, while hex() of an int is lowercase?
  2003-10-25 18:59 Z