I have a list in a multithreaded program. The main thread adds elements to the list (using list.append())& deletes elements from a list (using list.pop()). The other threads checks for existence of particular elements in the list (using if x in list)
No existing element in the list is ever modified (I am considering removal of elements as not a modification of an element).
From python docs, it looks as if these operations are all thread safe & I don't need to do any locking/unlocking myself. Am I correct in this assumption?
