Serhiy Storchaka added the comment: I think we should just use PyNumber_ToBase() for any int and int subclass. The calling __str__() for special case looks weird.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18780> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com