<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 12:22 AM, Georg Brandl
      wrote:<br>
    </div>
    <blockquote cite="mid:n9hgd0$mb5$1@ger.gmane.org" type="cite">
      <pre wrap="">Hey all,

based on the feedback so far, I revised the PEP.  There is now
a much simpler rule for allowed underscores, with no exceptions.
This made the grammar simpler as well.</pre>
    </blockquote>
    <br>
    +1 overall<br>
    <br>
    <blockquote cite="mid:n9hgd0$mb5$1@ger.gmane.org" type="cite">
      <pre wrap="">Examples::

    # grouping decimal numbers by thousands
    amount = 10_000_000.0

    # grouping hexadecimal addresses by words
    addr = 0xDEAD_BEEF

    # grouping bits into bytes in a binary literal</pre>
    </blockquote>
    nybbles, not bytes, is shown... which is more readable, and does
    group into bytes also.<br>
    <blockquote cite="mid:n9hgd0$mb5$1@ger.gmane.org" type="cite">
      <pre wrap="">    flags = 0b_0011_1111_0100_1110</pre>
    </blockquote>
    <br>
    +1 on 0b_ and 0X_ and, especially, 0O_ (but why anyone would use
    uppercase base designators is beyond me, as it is definitely less
    readable)<br>
    <br>
    <blockquote cite="mid:n9hgd0$mb5$1@ger.gmane.org" type="cite">
      <pre wrap="">    # making the literal suffix stand out more
    imag = 1.247812376e-15_j</pre>
    </blockquote>
    <br>
    +1 on _j<br>
    <br>
  </body>
</html>