New submission from Gavin Andresen <[email protected]>:

This gives me "foo   " instead of expected "foo\x00\x00\x00" :

"{0:\x00<6}".format('foo')

----------
components: Library (Lib)
messages: 140225
nosy: Gavin.Andresen
priority: normal
severity: normal
status: open
title: str.format cannot fill with \x00 char
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12546>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to