title: Q: Python 3: Why bytearray element comparison b'ABC'[0] == b'A' equals False?
body: <p>I am using bytearray to handle serial port data.</p>
  
  <p>I know that the first byte of the data is a character, and I want to compare them.
  This basically comes down to:</p>
  
  <pre><code>b'ABC'[0] == b'A'
  </code></pre>
  
  <p>This returns False, which I don't expect.</p>