telnetlib thread-safe?

Jerry jweida at gmail.com
Thu Aug 24 13:49:09 EDT 2006


Fredrik Lundh wrote:
> define thread-safe.  how do you plan to use it?

I would like to write a program that spawns ~10 threads.  Each thread
would get a host to connect to from a Queue object and run then do it's
thing (i.e. connecting to the host, running some commands, returning
back a success or fail based on the results).

I just want to make sure that telnetlib is safe for this.

--
Jerry




More information about the Python-list mailing list