[issue14308] '_DummyThread' object has no attribute '_Thread__block'

Dustin Kirkland report at bugs.python.org
Wed Mar 21 18:55:48 CET 2012


Dustin Kirkland <dustin.kirkland at gmail.com> added the comment:

Okay, update...

I did rebuild all of Python from source (actually, I applied it to the Ubuntu python2.7 package, rebuilt that locally, and then upgraded to the new python2.7 deb's.  I could see my change was applied /usr/lib/python2.7/threading.py, and I can safely assume that it landed in the pyc as well.

I restarted Apache2 to reload my wsgi script.  But unfortunately, I get the same error in /var/log/apache/error.log:

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

So please consider my patch as wrong/bad/insufficient.

Issue is still open, though.  Thanks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14308>
_______________________________________


More information about the Python-bugs-list mailing list