[issue3982] support .format for bytes

Gregory P. Smith report at bugs.python.org
Sat May 28 14:33:11 EDT 2016


Gregory P. Smith added the comment:

This came up in the language summit today when discussing twisted.  .format() is still not supported on bytes though % is in 3.5.

realistically it sounded like twisted needs to support python 3.4 for many years so they can't rely on bytes having a .format() method that also works on 2.7 anyways... but assuming .format() is only useful for text may still have been an oversight.  (i'll have to go re-read pep 460 and 461 and discussion before commenting further)

----------

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


More information about the Python-bugs-list mailing list