Re: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2

2014年2月23日 12:33:11 -0800

On 02/23/2014 03:31 AM, Antoine Pitrou wrote:
On 2014年2月22日 20:48:04 -0800 Ethan Furman wrote:
All the numeric formatting codes (such as ``%x``, ``%o``, ``%e``, ``%f``,
``%g``, etc.) will be supported, and will work as they do for str, including
the padding, justification and other related modifiers. The only difference
will be that the results from these codes will be ASCII-encoded bytes, not
unicode.
You can't encode bytes, so it should be "ASCII-encoded text" ;-)
Good point, thanks.
--
~Ethan~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to