[Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3) (original) (raw)
Ethan Furman ethan at stoneleaf.us
Sat Feb 13 12:40:57 EST 2016
- Previous message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Next message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02/13/2016 12:48 AM, Georg Brandl wrote:
The remaining open question is about the reverse direction: do we want a string formatting modifier that adds underscores as thousands separators?
+0 Would be nice, but also wouldn't make much sense in other groupings.
Instead of the relatively strict rule specified above, the use of underscores could be limited. As we seen from other languages, common rules include:
s/seen/see or s/we//
--
Ethan
- Previous message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Next message (by thread): [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]