<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#330033">
<div class="moz-cite-prefix">On 2/11/2016 8:22 PM, Andrew Barnert
wrote:<br>
</div>
<blockquote
cite="mid:1457615622.2456404.1455250972021.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<pre wrap="">On Thursday, February 11, 2016 8:10 PM, Glenn Linderman <a class="moz-txt-link-rfc2396E" href="mailto:v+python@g.nevcal.com"><v+python@g.nevcal.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 2/11/2016 7:56 PM, David Mertz wrote:
Great PEP overall. We definitely don't want the restriction to grouping numbers only in threes. South Asian crore use grouping in twos.
</pre>
<blockquote type="cite">
<pre wrap=""><a class="moz-txt-link-freetext" href="https://en.m.wikipedia.org/wiki/Crore">https://en.m.wikipedia.org/wiki/Crore</a>
</pre>
</blockquote>
<pre wrap="">Interesting... 3 digits in the least significant group, and _then_
</pre>
</blockquote>
<pre wrap=""> by twos. Wouldn't have predicted that one! Never bumped into that
notation before!
The first time I used underscore separators in any language, it was a test script for a server that wanted social security numbers as integers instead of strings, like 123_45_6789.[^1]
Which is why I suggested the style guideline should just say "meaningful grouping of digits", rather than try to predict what counts as "meaningful" for every program.
[^1] Of course in Python, it's usually trivial to stick a shim in between the database and the model thingy so I could just pass in "123-45-6789", so I don't expect to ever need this specific example.
</pre>
</blockquote>
<br>
Yes, I had thought of the Social Security Number possibility also,
although having them as constants in a program seems a bit unusual.
Test script, fake numbers, yeah, I guess so.<br>
</body>
</html>