In <[EMAIL PROTECTED]>, K.S.Sreeram wrote: > Alex Martelli wrote: >> Wrong, alas: each assignment *could* cause the dictionary's internal >> structures to be reorganized (rehashed) and impact another assignment >> (or even 'get'-access). > > but wont the GIL be locked when the rehash occurs?
If there is a GIL then maybe yes. But the GIL is an implementation detail. It's not in Jython nor IronPython and maybe not forever in CPython. Don't know about PyPy. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list