<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/16/2014 8:41 AM, Brett Cannon
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAP1=2W7bfc+fKCEvxwyB8mQgLf4g3_-j8T17w0jtJFMZjUc_Mw@mail.gmail.com"
      type="cite">That's a very good catch, Michael! I think that makes
      sense if there is precedence. Unfortunately that bit from the PEP
      never made it into the documentation so I'm not sure if there is a
      backwards-compatibility worry.</blockquote>
    <br>
    No.  If __format__ is called with bytes format, and returns str,
    there would be an exception generated on the spot.<br>
    <br>
    If __format__ is called with bytes format, and tries to use it as
    str, there would be an exception generated on the spot.<br>
    <br>
    Prior to 3.whenever-this-is-implemented, Python 3 only provides str
    formats to __format__, right? So new code is required to pass bytes
    to __format__.<br>
  </body>
</html>