[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5 (original) (raw)

Juraj Sukop juraj.sukop at gmail.com
Sun Jan 12 17:43:05 CET 2014


On Sun, Jan 12, 2014 at 2:16 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

Why are you proposing to do the join in text space? Encode all the parts separately, concatenate them with b'\n'.join() (or whatever separator is appropriate). It's only the text formatting operation that needs to be done in text space and then explicitly encoded (and this example doesn't even need latin-1,ASCII is sufficient): I apparently misunderstood what was Steven suggesting, thanks for the clarification. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140112/5b9735d0/attachment.html>



More information about the Python-Dev mailing list