question about

Peter Hansen peter at
Sun Jan 8 10:24:43 EST 2006

m_palmer45 at wrote:
> yes, I read it, and I even know about threading's existence. I just
> thought that if something claims to be atomic, it better should be.

I think the term "atomic" is meaningful only when the context is known. 
  For example, "atomic" operations in the Python interpreter are 
certainly not atomic within the larger context of the CPU, and atomic 
CPU operations are not necessarily atomic in the context of a system 
with multiple CPUs.  If the context for explicitly excludes 
multi-threading then you have to interpret "atomic" in whatever context 
that defines.


More information about the Python-list mailing list