On Thu, Jul 1, 2010 at 1:00 PM, Nikolaus Rath <nikol...@rath.org> wrote:
>> Generally in python, the only objects you can share "without explicit >> locking" are single instances of core data types - basically lists and >> dicts. > > As well as third-party modules that have been designed to be threadsafe. > *Modules* can be thread-safe, but what's an example of a module that advertises it's classes as thread-safe? Any class that does that would need to self-lock on all non-atomic operations. It's normally just easier to expect locking to be handled outside of the class. _______________________________________________ paramiko mailing list paramiko@lag.net http://www.lag.net/cgi-bin/mailman/listinfo/paramiko