[issue14677] Python 2.6 Printing Error

Eric V. Smith report at bugs.python.org
Thu Apr 26 20:01:40 CEST 2012


Eric V. Smith <eric at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14677>
_______________________________________


More information about the Python-bugs-list mailing list