This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dustin.Kirkland
Recipients Dustin.Kirkland
Date 2012-03-14.23:48:19
SpamBayes Score 0.010798793
Marked as misclassified No
Message-id <>
My Apache2 logs are filled with the following error kicked out by my python wsgi script:

[Wed Mar 14 18:16:38 2012] [error] Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

I was able to silence these with a simple conditional in /usr/lib/python2.7/threading.pyc:

-        del self._Thread__block
+        if hasattr(self, '_Thread__block'):
+            del self._Thread__block

Full patch attached.
Date User Action Args
2012-03-14 23:48:20Dustin.Kirklandsetrecipients: + Dustin.Kirkland
2012-03-14 23:48:20Dustin.Kirklandsetmessageid: <>
2012-03-14 23:48:20Dustin.Kirklandlinkissue14308 messages
2012-03-14 23:48:20Dustin.Kirklandcreate