Georg Brandl <georg at python.org> added the comment: You should mention that if base is none of 2, 8, 10, or 16, the output looks like "12#555" where 12 is the base. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue2700> __________________________________