<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 1/13/2014 5:06 AM, Nick Coghlan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADiSq7fthuwEh=bi9zW9fSY7+TEBML3N5z+Fpds0HGsKRSOGyw@mail.gmail.com"
      type="cite">
      <pre wrap="">I figured out tonight that it's only positioning ASCII interpolation
as an <b class="moz-txt-star"><span class="moz-txt-tag">*</span>alternative<span class="moz-txt-tag">*</span></b> to adding binary interpolation that I have a
problem with. It isn't, because you lose the structural assurance that
you haven't inadvertently introduced an assumption of ASCII
compatibility when you didn't need to. However, interpolation support
is a convenient enough interface that I can see a version that <b class="moz-txt-star"><span class="moz-txt-tag">*</span>only<span class="moz-txt-tag">*</span></b>
supports ASCII compatible interpolation being an attractive nuisance
that becomes a source of hard to detect and fix data corruption bugs
(just like the str type in Python 2).

If we add both, my objections go away: people like me can use the
Python 3 only formatb and formatb_map methods and be confident we
haven't inadvertently introduced any assumptions regarding ASCII
compatibility, while folks that know they're dealing with an ASCII
compatible format can use the ASCII assuming versions that are
designed to be source compatible with Python 2.

If someone incorrectly uses format() or format_map() when they should
be using the pure binary versions, that's a trivial bug fix (adding
the necessary "b", and perhaps some explicit encoding calls) rather
than a major restructuring of the code.

If they use mod-formatting, that's a slightly bigger fix, but still
just switching to a different spelling of the formatting operation.

Both use cases (binary only and ASCII compatible) get covered cleanly,
and nobody has to lose out.

Cheers,
Nick.</pre>
    </blockquote>
    <br>
    As part of that, what about an alternate spelling of  %  to allow
    binary-only interpolation operations using the handy syntax of % ?  
    Doesn't seem like  /  is defined for bytes or str on the LHS.<br>
  </body>
</html>