[issue21071] struct.Struct.format is bytes, but should be str

Martin Panter report at bugs.python.org
Thu Apr 17 07:08:45 CEST 2014


Martin Panter added the comment:

This is closely related to Issue 16349. If format strings were explicitly allowed to be byte strings there would be less conflict, but documenting the data type of the “format” attribute is better than nothing.

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list