Grant Edwards wrote:

> That depends on the type of the global and how they're used.
> Re-binding a name is always an atomic operation.  Modifying
> many mutable objects is atomic.

footnote: for more on this topic, see this FAQ entry:

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

and this recent python-dev thread that discusses that entry:

http://mail.python.org/pipermail/python-dev/2006-November/thread.html#69981

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to