Eric V. Smith <e...@trueblade.com> added the comment: The "s" causes the argument to be converted to a string, then the formatting is applied. So it's working as designed.
This is the logical equivalent of: '%8.8s' % str(10000000001.) ---------- nosy: +eric.smith resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14677> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com