replace dict contents

Aahz aahz at
Wed Jul 28 15:58:54 CEST 2004

In article <4106C4D2.2030103 at>,
Robin Becker  <robin at> wrote:
>The actual replace part of  L1[:]=L2 happens in a single opcode and is 
>therefore atomic. The same cannot be said of the .clear, .update sequence.

Why do you care about atomicity?  Are you running a threaded app?
Aahz (aahz at           <*>

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at

More information about the Python-list mailing list