<mkrisch at netscape.net.bbs@openbazaar.net> schrieb im Newsbeitrag news:3bRZA7$j9m at openbazaar.net... > what i really want is to get the following: > > >>> i = 0xa > >>> i > 0xa Then write a HexInt class that overloads __str__ and __repr__, and use i = HexInt(0xa). I see no other way.