This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sobolevn
Recipients sndrtj, sobolevn
Date 2021-11-04.11:23:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636025009.62.0.211676227321.issue45708@roundup.psfhosted.org>
In-reply-to
Content
It is not hard to fix (https://github.com/python/cpython/blob/2c045bd5673d56c3fdde7536da9df1c7d6f270f0/Modules/_decimal/libmpdec/io.c#L857-L863):

```c
    /* thousands separator */
    if (*cp == ',' || *cp == '_') {
        spec->dot = ".";
        if (*cp == ',') {
            spec->sep = ",";
        } else {
            spec->sep = "_";
        }
        spec->grouping = "\003\003";
        cp++;
    }
```

But, there's some context to it: https://bugs.python.org/issue44267 / https://mail.python.org/pipermail/python-dev/2016-March/143556.html

I am going to research this further.
History
Date User Action Args
2021-11-04 11:23:29sobolevnsetrecipients: + sobolevn, sndrtj
2021-11-04 11:23:29sobolevnsetmessageid: <1636025009.62.0.211676227321.issue45708@roundup.psfhosted.org>
2021-11-04 11:23:29sobolevnlinkissue45708 messages
2021-11-04 11:23:29sobolevncreate