[EMAIL PROTECTED] writes: > Any ideas for a thread-safe list.removeall( X ): removing all > occurrences of X within list L, when L might be modified concurrently?
That way lies madness. Do something sensible instead. Put a lock around the list, or put all mutators for the list into a single thread, or whatever. Don't do what you're describing. -- http://mail.python.org/mailman/listinfo/python-list