[issue3982] support .format for bytes
Antoine Pitrou
report at bugs.python.org
Wed Jan 23 08:11:30 CET 2013
Antoine Pitrou added the comment:
Le mardi 22 janvier 2013 à 23:34 +0000, Terry J. Reedy a écrit :
> Terry J. Reedy added the comment:
>
> >it would probably be reasonable to make these protocols use str objects at the heart, and only convert to bytes after the formatting is done.
>
> I presume this would mean adding 'if py3: out = out.encode()' after
> the formatting. As I said before, this works much better in 3.3+ than
> in 3.2-.
So what? We're discussing a feature that, at best, will be present in
3.4 and not before.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3982>
_______________________________________
More information about the Python-bugs-list
mailing list