title: print bytes which contains NULL
body: <p>I have a bytes string,</p>
  
  <pre><code>str = 'string ends with null\x00\x11u\x1ai\t'
  </code></pre>
  
  <p>and I expect that <code>str</code> should terminate after the word <code>null</code>, because a NULL <code>\x00</code> follows immediately, however when I print <code>str</code>, </p>
  
  <pre><code>&gt;&gt;&gt; print('string ends with null\x00\x11u\x1ai\t')
  string ends with nullui
  </code></pre>
  
  <p><code>str</code> doesn't end as I expected, how to make it right?</p>