Vedran Čačić <ved...@gmail.com> added the comment: The width doesn't mean "the number of bits", it means "the width of the field". In every other case too:
* when we format negative numbers, width includes the minus sign * when we format decimal numbers, width includes decimal point (or comma) * when we format strings with !r, width includes the quotes So, not only would it break too much code, but it would actually be inconsistent to formatting all other types currently. ---------- nosy: +veky _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38657> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com