On 11/13/2014 7:51 PM, satishmlm...@gmail.com wrote:
in 4 different threads
How to get file descriptors of sys.stdin, sys.stdout and sys.stderr?
fileno() in not supported. Is it only in 3.1? What is the workaround?
> io.UnsupportedOperation: fileno
> How to give a file descriptor number to this
On Sep 17, 1:38 am, Ned Deily wrote:
> In article <20100917052259.ga28...@cskk.homeip.net>,
> Cameron Simpson wrote:
>
>
>
>
>
> > On 16Sep2010 22:14, Ned Deily wrote:
> > | In article <20100917043826.ga21...@cskk.homeip.net>,
> > | Cameron Simpson wrote:
> > |
> > | > On 16Sep2010 09:55, mar
In article <20100917052259.ga28...@cskk.homeip.net>,
Cameron Simpson wrote:
> On 16Sep2010 22:14, Ned Deily wrote:
> | In article <20100917043826.ga21...@cskk.homeip.net>,
> | Cameron Simpson wrote:
> |
> | > On 16Sep2010 09:55, mark.pellet...@asrcms.com
> | > wrote:
> | > | For some reason
On 16Sep2010 22:14, Ned Deily wrote:
| In article <20100917043826.ga21...@cskk.homeip.net>,
| Cameron Simpson wrote:
|
| > On 16Sep2010 09:55, mark.pellet...@asrcms.com
| > wrote:
| > | For some reason, the tasks I put into my thread pool occasionally get
| > | run more than once.
| > |
| >
In article <20100917043826.ga21...@cskk.homeip.net>,
Cameron Simpson wrote:
> On 16Sep2010 09:55, mark.pellet...@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_ co
On 16Sep2010 09:55, mark.pellet...@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
For some reason, the tasks I put into my thread pool occasionally get
run more than once.
Here's the code:
#
---
from threading import Thread
from queue import Queue
import subprocess