[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
Eric V. Smith
eric at trueblade.com
Tue Jan 7 15:31:08 CET 2014
More information about the Python-Dev mailing list
Tue Jan 7 15:31:08 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/07/2014 06:24 AM, Stefan Krah wrote: > Antoine Pitrou <solipsis at pitrou.net> wrote: >>> Very nice, thanks. If I was to make a blasphemous suggestion I would >>> even target it for Python 3.4. (No, seriously, this is a big issue >>> - see the recent discussion by Armin - and the big names involved show >>> that it is a major holdup of 3.x uptake.) It would of course depend >>> a lot on how much code from unicode formatting can be retained or >>> adapted as opposed to a rewrite from scratch. >> >> From what I've seen of the unicode formatting code, a lot would have to >> be rewritten or refactored. It is a non-trivial task, definitely >> inappropriate for 3.4. > > I do not know the stringlib well enough, so I have a silly question: > > Would it be possible to re-use the 2.x stringlib just for the bytes type, > name it byteslib and disable features as appropriate? I do know it pretty well. I think reusing stringlib from either 2.x or 3.x pre-PEP-393 version would be the best way to go about this. Unfortunately, reusing (or sharing) the PEP-393 version currently in 3.4 is probably not realistic. Eric.
- 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