Re: Error: child process close a socket inherited from parent

2011-05-29 Thread narke
On 2011-05-29, Chris Torek wrote: > In article > narke wrote: >>As illustrated in the following simple sample: >> >>import sys >>import os >>import socket >> >>class Server: >>def __init__(self): >>self._listen_sock = None >> >>def _talk_to_client(self, conn, addr): >>te

Re: Error: child process close a socket inherited from parent

2011-05-29 Thread Chris Torek
In article narke wrote: >As illustrated in the following simple sample: > >import sys >import os >import socket > >class Server: >def __init__(self): >self._listen_sock = None > >def _talk_to_client(self, conn, addr): >text = 'The brown fox jumps over the lazy dog.\n' >

Re: Error: child process close a socket inherited from parent

2011-05-29 Thread narke
On 2011-05-29, narke wrote: > Hi, > > As illustrated in the following simple sample: > > import sys > import os > import socket > > class Server: > def __init__(self): > self._listen_sock = None > > def _talk_to_client(self, conn, addr): > text = 'The brown fox jumps over t