title: Why does my IDE suggest to rewrite != 0 to is not 0
body: <p>My python IDE PyCharm by defaults suggests to change the following line of python:</p>
  
  <pre><code>if variable != 0:
  </code></pre>
  
  <p>to </p>
  
  <pre><code>if variable is not 0:
  </code></pre>
  
  <p>Why does it suggest this? Does it matter at all for the execution (i.e. does this behave different for any edge cases)?</p>