From bc10172a778d32c04560ef75a3dbf990405ca190 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 14 Mar 2009 00:48:29 +0000 Subject: [PATCH] Link to ADA docs. --- pep-0378.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pep-0378.txt b/pep-0378.txt index 2b2e4b6c7..a746f9443 100644 --- a/pep-0378.txt +++ b/pep-0378.txt @@ -27,7 +27,7 @@ approach to be frustrating, arcane and non-obvious. The locale module presents two other challenges. First, it is a global setting and not suitable for multi-threaded apps that need to serve-up requests in multiple locales. Second, the -name of a relevant locale (perhaps "de_DE") can vary from +name of a relevant locale (such as "de_DE") can vary from platform to platform or may not be defined at all. The docs for the locale module describe these and `many other challenges`_ in detail. @@ -56,7 +56,7 @@ Research so far =============== Scanning the web, I've found that thousands separators are -usually one of COMMA, DOT, SPACE, or UNDERSCORE. +usually one of COMMA, DOT, SPACE, APOSTROPHE or UNDERSCORE. When a COMMA is the decimal separator, the thousands separator is typically a DOT or SPACE (see examples from Denis Spir). @@ -197,6 +197,10 @@ Other Ideas convention in Switzerland is to use an APOSTROPHE as a thousands separator, ``12`000.99``. +* The `ADA language`_ allows UNDERSCORES in its numeric literals. + +.. _`ADA language`: http://archive.adaic.com/standards/83lrm/html/lrm-02-04.html + Commentary ==========