title: How to fix this python error? RuntimeError: dictionary changed size during iteration
body: <p>it gives me this error:</p>
  
  <pre><code>Exception in thread Thread-163:
  Traceback (most recent call last):
    File "C:\Python26\lib\threading.py", line 532, in __bootstrap_inner
      self.run()
    File "C:\Python26\lib\threading.py", line 736, in run
      self.function(*self.args, **self.kwargs)
    File "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\SoundLog.py", line 337, in getInfo
      self.data1 = copy.deepcopy(Auxiliar.DataCollection.getInfo(1))
    File "C:\Python26\lib\copy.py", line 162, in deepcopy
      y = copier(x, memo)
    File "C:\Python26\lib\copy.py", line 254, in _deepcopy_dict
      for key, value in x.iteritems():
  RuntimeError: dictionary changed size during iteration
  </code></pre>
  
  <p>while executing my python program.</p>
  
  <p>How can I avoid this to happen?</p>
  
  <p>Thanks in advance ;)</p>