Author fov
Recipients fov
Date 2021-01-12.23:50:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610495425.15.0.409826232795.issue42914@roundup.psfhosted.org>
In-reply-to
Content
Here is an implementation of the safe repr for numbers if helpful:

```
def safe_repr_int(object):
    sign = ''
    if object < 0:
        sign = '-'
        object  = -object
    r = repr(object)
    if len(r) <= 4:
        return sign + r
    parts = [sign]
    left = len(r) % 3
    if left:
        parts.append(r[0:left])
        parts.append('_')
        r = r[left:]
    parts.append(r[0:3])
    for i in range(3, len(r), 3):
        parts.append('_')
        parts.append(r[i:i + 3])
    return ''.join(parts)
```
History
Date User Action Args
2021-01-12 23:50:25fovsetrecipients: + fov
2021-01-12 23:50:25fovsetmessageid: <1610495425.15.0.409826232795.issue42914@roundup.psfhosted.org>
2021-01-12 23:50:25fovlinkissue42914 messages
2021-01-12 23:50:25fovcreate