[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
Ethan Furman
ethan at stoneleaf.us
Sun Jan 12 23:03:57 CET 2014
More information about the Python-Dev mailing list
Sun Jan 12 23:03:57 CET 2014
- Previous message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Next message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/12/2014 01:59 PM, Mark Shannon wrote: > > Why not just use six.byte_format(fmt, *args)? > It works on both Python2 and Python3 and accepts the numerical format specifiers, plus '%b' for inserting bytes and '%a' > for converting text to ascii. Sounds like the second best option! > Admittedly it doesn't exist yet, > but it could and it would save a lot of arguing :) :) -- ~Ethan~
- Previous message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Next message: [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list