<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 11 Feb 2016 at 02:13 Steven D'Aprano <<a href="mailto:steve@pearwood.info">steve@pearwood.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Feb 10, 2016 at 08:41:27PM -0800, Andrew Barnert wrote:<br>
<br>
> And honestly, are you really claiming that in your opinion, "123_456_"<br>
> is worse than all of their other examples, like "1_23__4"?<br>
<br>
Yes I am, because 123_456_ looks like you've forgotten to finish typing<br>
the last group of digits, while 1_23__4 merely looks like you have no<br>
taste.<br></blockquote><div><br></div><div>OK, but the keyword in your sentence is "taste". If we update PEP 8 for our needs to say "Numerical literals should not have multiple underscores in a row or have a trailing underscore" then this is taken care of. We get a dead-simple rule for when underscores can be used, the implementation is simple, and we get to have more tasteful usage in the stdlib w/o forcing our tastes upon everyone or complicating the rules or implementation.</div></div></div>