From: Carl Banks on
On May 12, 11:50 pm, Dennis Lee Bieber <wlfr...(a)ix.netcom.com> wrote:
> On Mon, 10 May 2010 10:40:51 +0800, "ÖÓ±þÓÂ" <zhon...(a)ucweb.com>
> declaimed the following in gmane.comp.python.general:
>
> > 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'
>
>         Off hand -- I'd wonder if somewhere in the code there may be a
> faulty/erroneous rebinding of the "not_full" attribute...

My impression too, that or _Condition.


Carl Banks