removeall() in list

castironpi at gmail.com castironpi at gmail.com
Sat Jan 12 13:55:05 EST 2008


On Jan 12, 12:26 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> castiro... at gmail.com writes:
> > 2) List is referenced by others; concurrent modifications may be going
> > on; can not replace it.  Can I make asynchronous modifications and
> > merge the changes, SCM-style?
>
> Nothing else should have direct access to the list.
Impossible to guarantee in Python.  If you do, the reference to you
does.



More information about the Python-list mailing list