Message74021
> I don't think that b'...'.format() is a good idea. Programmers
> will continue to mix characters and bytes since .format() target
> are characters.
b''.format() would return bytes, not a string. This is also how it works
in 2.6.
I'm also not sold on implementing it, although it would be easy and I
can see a few uses for it. I think Martin's suggesting of encoding back
to ascii might be the best thing to do (that is, don't implement
b''.format()). |
|
Date |
User |
Action |
Args |
2008-09-29 10:50:59 | eric.smith | set | recipients:
+ eric.smith, loewis, vstinner, benjamin.peterson |
2008-09-29 10:50:59 | eric.smith | set | messageid: <1222685459.39.0.164347677869.issue3982@psf.upfronthosting.co.za> |
2008-09-29 10:50:58 | eric.smith | link | issue3982 messages |
2008-09-29 10:50:58 | eric.smith | create | |
|