Too many threads

Ned Deily nad at acm.org
Fri Sep 17 07:14:46 CEST 2010


In article <20100917043826.GA21464 at cskk.homeip.net>,
 Cameron Simpson <cs at zip.com.au> wrote:

> On 16Sep2010 09:55, mark.pelletier at asrcms.com <mark.pelletier at asrcms.com> 
> wrote:
> | For some reason, the tasks I put into my thread pool occasionally get
> | run more than once.
> | 
> | Here's the code:
> 
> You need to post your _exact_ code. I had to change:
>   from queue import Queue
> into
>   from Queue import Queue
> So: _do_ you have a "queue" (lowercase) module? Is it buggy?

The OP is probably using Python 3.

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list