title: How to add datetime as a dict value?
body: <p>In <code>for</code> loop I'm parsing <code>datetime.datetime</code> objects like <code>2016-06-29 00:00:00</code> out of the string values of my dictionary. In order to have date information separately from the rest of exident data I'm trying to add these objects as a key-value pair to existing dict. </p>
  
  <pre><code>      for i in enumerate(my_list):
            date = dateparser.parse(i[1].get('exident_data')[0:8])
            my_list[date] = date
  </code></pre>
  
  <p>... but I fail and getting:</p>
  
  <pre><code>TypeError: list indices must be integers or slices, not datetime.datetime
  </code></pre>
  
  <p>How to do it? Can't find the answer...</p>