[issue3982] support .format for bytes

Benjamin Peterson report at bugs.python.org
Sat Sep 27 17:50:41 CEST 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

I just working on porting some networking code from 2.x to 3.x and it
heavily uses string formatting. Since bytes don't support any kind of
formatting, it's becoming tedious and inelegant to do it with "+". Can
.format be supported in bytes?

[I understand format is implemented with stringlib so shouldn't it be
fairly easy to implement?]

----------
components: Interpreter Core
messages: 73931
nosy: benjamin.peterson, eric.smith
priority: normal
severity: normal
status: open
title: support .format for bytes
type: feature request
versions: Python 3.1

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


More information about the Python-bugs-list mailing list