Are Lists thread safe?

Larry Bates lbates at websafe.com
Fri Mar 9 20:34:34 CET 2007


abcd wrote:
> Are lists thread safe?  Or do I have to use a Lock when modifying the
> list (adding, removing, etc)?  Can you point me to some documentation
> on this?
> 
> thanks
> 
You really should at least try Google first:

http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm

-Larry



More information about the Python-list mailing list