Serhiy Storchaka added the comment: prweek() in Python 2 adds a final space. Python 3 version looks correct. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28255> _______________________________________