Ignore exceptions printed to stderr in __del__()
<p>According to the <a href="http://docs.python.org/2/reference/datamodel.html" rel="nofollow">Python (2.7) documentation</a>:</p>

<blockquote>
  <p>Due to the precarious circumstances under which __del__() methods are
  invoked, exceptions that occur during their execution are ignored, and
  a warning is printed to sys.stderr instead</p>
</blockquote>

<p>What would be the most Pythonic way to completely and absolutely ignore an exception raised in __del__() — that is, not only having the exception ignored but also <strong>nothing printed to sterr</strong>. Is there a better way than temporarily redirecting stderr to the null device?</p>
