This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients benjamin.peterson, eric.smith, loewis, vstinner
Date 2008-09-29.10:50:58
SpamBayes Score 1.6984081e-06
Marked as misclassified No
Message-id <1222685459.39.0.164347677869.issue3982@psf.upfronthosting.co.za>
In-reply-to
Content
> 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()).
History
Date User Action Args
2008-09-29 10:50:59eric.smithsetrecipients: + eric.smith, loewis, vstinner, benjamin.peterson
2008-09-29 10:50:59eric.smithsetmessageid: <1222685459.39.0.164347677869.issue3982@psf.upfronthosting.co.za>
2008-09-29 10:50:58eric.smithlinkissue3982 messages
2008-09-29 10:50:58eric.smithcreate