[issue3982] support .format for bytes

Jean-Paul Calderone report at bugs.python.org
Tue Oct 2 15:18:35 CEST 2012


Jean-Paul Calderone added the comment:

> The price of maintaining exceeds the potential very limited benefits from the use.

The "very limited benefits" of being able to write I/O code without roughly 3 times code bloat?  Perhaps for people who don't write code that does non-trivial I/O, but for the rest of us the benefits are pretty significant.

> I suspect, but have not verified, that having a bytes version of this code would now require an implementation that shared very little with the str version.

The implementation may be difficult, therefore no one should attempt it?

----------

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


More information about the Python-bugs-list mailing list