title: Can't call function from destructor in any class
body: <p>I want use ConfigParser in one class, it needs a call from the destructor, but then strange things happen.</p>
  
  <p>This is my code:</p>
  
  <pre><code>"""
  function name is 
  test  ok!
  test1 failed!
  test2 failed!
  test3 failed!
  
  test4
  ...  ok!
  
  """
  
  def test3():
    pass
  
  class Class1:
    def __del__(self):
      test3()
  
  if __name__=="__main__":
    obj=Class1()
  </code></pre>
  
  <p>If the function is named <code>test1</code>, <code>test2</code> or <code>test3</code>, an exception will be raised, and I can't catch it by <code>try except</code>.</p>
  
  <p>The traceback is:</p>
  
  <pre><code>E:\tc.py
  Exception TypeError: "'NoneType' object is not callable" in &lt;bound method Class1.__del__ of &lt;__main__.Class1 instance at 0x00C18F58&gt;&gt; ignored
  </code></pre>
  
  <p>It's so strange! Can you test it in your system? Or am I doing something wrong?</p>