In article <[EMAIL PROTECTED]>,
Grant Edwards  <[EMAIL PROTECTED]> wrote:
>
>Re-binding a name is always an atomic operation.  Modifying
>many mutable objects is atomic.

You know this, but just to make clear: rebinding attributes of an object
(which are also sometimes called names) is not necessarily an atomic
operation.  Moreover, only a plain rebinding operation is atomic;
augmented assignment is frequently not atomic.
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles:  boring syntax, unsurprising semantics,
few automatic coercions, etc etc.  But that's one of the things I like
about it."  --Tim Peters on Python, 16 Sep 1993
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to