title: Remove items from array when date passed
body: <p>I have an array in my Python Project and I add items to the array with this code:</p>
  
  <pre><code>items.append({"date":time.time(), "item":item})
  </code></pre>
  
  <p>I want to remove all the items where the date passed after 10 seconds, I do it with this :</p>
  
  <pre><code>items = [item for item in items if item['date'] + 10 &lt;= time.time()]
  </code></pre>
  
  <p>But this code removes all items and not the one that passed 10 seconds, any idea what is the problem?</p>