[issue23624] str.center inconsistent with format "^"

Serhiy Storchaka report at bugs.python.org
Tue Mar 10 10:52:02 CET 2015


Serhiy Storchaka added the comment:

The behavior of Python 2.7 is the same as Python 3.x.

str.center() is very old method and changing it will change formatted reports generated by third-party software in all world. At least this will break many tests. And this will add yet one incompatibility between Python 2 and Python 3.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list