Queue.Queue() AttributeError exception
钟炳勇
zhongby at ucweb.com
Sun May 9 22:40:51 EDT 2010
I have a multi-thread program work with Queue.Queue(), sometimes put request to the work queue, but throw an exception as below traceback information, it will always throw the exception until restart program, cound please have any experience, your help will be greatly appreciated!
File "/usr/local/lib/python2.4/Queue.py", line 71, in put
self.not_full.acquire()
AttributeError: '_Condition' object has no attribute 'acquire'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100510/d3db1e25/attachment.html>
More information about the Python-list
mailing list