Inconsistency in hex()

Terry Reedy tjreedy at
Tue Jul 12 22:50:55 CEST 2005

"Steven D'Aprano" <steve at> wrote in message 
news:pan.2005. at
> hex() of an int appears to return lowercase hex digits, and hex() of a
> long uppercase.

Already bug-reported and fixed for 2.5 (to use lowercase, I believe). 

More information about the Python-list mailing list