Ethan Furman added the comment: '{:}'.format(AF.IPv4) is incorrect, but '{:10}'.format(AF.IPv4) behaves as it should. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18738> _______________________________________