[Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2
Antoine Pitrou
solipsis at pitrou.net
Sun Feb 23 12:33:52 CET 2014
More information about the Python-Dev mailing list
Sun Feb 23 12:33:52 CET 2014
- Previous message: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2
- Next message: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 22 Feb 2014 17:56:50 -0800 Ethan Furman <ethan at stoneleaf.us> wrote: > > ``%a`` will call :func:``ascii()`` on the interpolated value's :func:``repr()``. > This is intended as a debugging aid, rather than something that should be used > in production. Non-ascii values will be encoded to either ``\xnn`` or ``\unnnn`` > representation. Why is "%a" here? I don't remember: was this discussed before? "Intended as a debugging aid" sounds like a weak justification to me. Regards Antoine.
- Previous message: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2
- Next message: [Python-Dev] PEP 461: Adding % formatting to bytes and bytearray -- Final, Take 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list