pop & append

Tim Peters tim_one at email.msn.com
Tue Aug 31 02:56:18 CEST 1999

[Robin Becker]
> Someone from the Zope list tells me that the list pop and append
> operations are thread safe. Is this the case?

All list methods are atomic.

> How can one tell if particular bits of python code are 'atomic'?

Decades of experience <wink>.  Save a few years by reading FAQ entry 4.88

or-just-search-the-faq-for-"atomic"-ly y'rs  - tim

More information about the Python-list mailing list