[issue5515] 'n' formatting for int and float handles leading zero padding poorly

Eric Smith report at bugs.python.org
Thu Mar 19 19:07:02 CET 2009


Eric Smith <eric at trueblade.com> added the comment:

Oops, assigning it to you was an error. I was just trying to figure out
what your userid is so I could add you to Nosy, and I was using
"Assigned To" to find it. I've fixed that.

The current behavior is an accident of the implementation. The
implementation isn't based on anything else, and there was no
requirement to have the output that it does. And as far as I know, there
are no tests that test for the current behavior.

Right now I'm +0 on backporting. What I'll do is fix it for 2.7/3.1 and
see how big the patch is. I suspect it will be a pretty big, invasive
patch. If so, I'll change my backport vote to -1.

----------
assignee: marketdickinson -> eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5515>
_______________________________________


More information about the Python-bugs-list mailing list