On 16Sep2010 22:14, Ned Deily <[email protected]> wrote:
| In article <[email protected]>,
|  Cameron Simpson <[email protected]> wrote:
| 
| > On 16Sep2010 09:55, [email protected] <[email protected]> 
| > 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.

Ah, that explains the print(). Anyone know if print() is thread safe in
python 3?
-- 
Cameron Simpson <[email protected]> DoD#743
http://www.cskk.ezoshosting.com/cs/

If I repent anything, it is very likely to be my good behavior.
    What demon possessed me that I behaved so well?     - Henry David Thoreau
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to