[Python-Dev] Adding PEP 515's '_' formatting (original) (raw)
Chris Angelico rosuav at gmail.com
Fri Aug 19 09:16:59 EDT 2016
- Previous message (by thread): [Python-Dev] Adding PEP 515's '_' formatting
- Next message (by thread): [Python-Dev] Failures in test_site.py - how to debug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 19, 2016 at 6:35 PM, Eric V. Smith <eric at trueblade.com> wrote:
PEP 515 adds underscores to numeric literals. As part of that, it adds optional underscores to numeric formatters (similar to PEP 378 for ','). See https://www.python.org/dev/peps/pep-0515/#further-changes
I had assigned myself http://bugs.python.org/issue27080 to implement this. Unfortunately, I'm not going to have time to implement this before 3.6 Beta 1. This isn't a hugely complex project, and it doesn't require knowledge of python internals. So someone with decent C skills should be able to accomplish it in less than a day. I'm hoping someone can pick it up. I can offer some pointers if needed.
I'm looking into it. Looks like it's part of the default-locale code - and fortunately doesn't involve messing with actual locale data.
ChrisA
- Previous message (by thread): [Python-Dev] Adding PEP 515's '_' formatting
- Next message (by thread): [Python-Dev] Failures in test_site.py - how to debug?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]