Inconsistency in hex()

Raymond Hettinger python at
Wed Jul 13 01:49:47 CEST 2005

[Steven D'Aprano]
> > hex() of an int appears to return lowercase hex digits, and hex() of a
> > long uppercase.

[Terry Reedy]
> Already bug-reported and fixed for 2.5 (to use lowercase, I believe).

Score another victory for the time machine ;-)


More information about the Python-list mailing list